|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.reader.Job
Constructor Summary | |
Job(IJobHelper aHelper)
|
Method Summary | |
protected void |
addSubJob(IJob aJob)
|
boolean |
checkSubJobsValidated()
Checks if the validation step of all sub jobs has been executed. |
protected abstract void |
collectRefsForCompletion(IJobRefs aJobRefs)
|
protected abstract void |
collectRefsForCreation(IJobRefs aJobRefs)
|
protected abstract void |
collectRefsForValidation(IJobRefs aJobRefs)
|
protected abstract void |
doExecuteCompletion(IConstraintViolations aViolations)
|
protected abstract void |
doExecuteCreation(IConstraintViolations aViolations)
|
protected abstract void |
doExecuteValidation(IConstraintViolations aViolations)
|
void |
executeCompletion(IConstraintViolations aViolations)
Executes the completion step of the job. |
void |
executeCreation(IConstraintViolations aViolations)
Executes the creation step of the job. |
void |
executeValidation(IConstraintViolations aViolations)
Executes the validation step of the job. |
protected IJobHelper |
getHelper()
|
boolean |
getIsValidated()
Checks if the validation step of this job has been executed. |
ILocation |
getLocation()
|
IJob |
getParent()
Gets the job that initiated (created) this job. |
java.util.Iterator |
iterRefsForCompletion()
Iterates the references that must be resolved before the completion step of this job can be executed. |
java.util.Iterator |
iterRefsForCreation()
Iterates the references that must be resolved before the creation step of this job can be executed. |
java.util.Iterator |
iterRefsForValidation()
Iterates the references that must be resolved before the validation step of this job can be executed. |
java.util.Iterator |
iterSubJobs()
Iterates the sub jobs of this job. |
void |
setParent(IJob aParent)
Sets the parent job. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jbind.xml.schema.reader.IJob |
getDescription, getInstantiator |
Constructor Detail |
public Job(IJobHelper aHelper)
Method Detail |
protected IJobHelper getHelper()
public boolean getIsValidated()
IJob
getIsValidated
in interface IJob
true
iff the validation step of this job has
been executed.public final IJob getParent()
IJob
getParent
in interface IJob
public final void setParent(IJob aParent)
IJob
setParent
in interface IJob
aParent
- (required).public final java.util.Iterator iterRefsForCreation()
IJob
iterRefsForCreation
in interface IJob
IJobRef
. (required)public final java.util.Iterator iterRefsForCompletion()
IJob
iterRefsForCompletion
in interface IJob
IJobRef
. (required)public final java.util.Iterator iterRefsForValidation()
IJob
iterRefsForValidation
in interface IJob
IJobRef
. (required)protected abstract void collectRefsForCreation(IJobRefs aJobRefs)
protected abstract void collectRefsForCompletion(IJobRefs aJobRefs)
protected abstract void collectRefsForValidation(IJobRefs aJobRefs)
protected void addSubJob(IJob aJob)
public java.util.Iterator iterSubJobs()
IJob
iterSubJobs
in interface IJob
IJob
s.public final void executeCreation(IConstraintViolations aViolations)
IJob
iterRefsForCreation
.
executeCreation
in interface IJob
true
iff the step was executed successfully.protected abstract void doExecuteCreation(IConstraintViolations aViolations)
public final void executeCompletion(IConstraintViolations aViolations)
IJob
iterRefsForCompletion
.
executeCompletion
in interface IJob
true
iff the step was executed successfully.protected abstract void doExecuteCompletion(IConstraintViolations aViolations)
public final void executeValidation(IConstraintViolations aViolations)
IJob
iterRefsForValidation
and if the validation
steps of all sub jobs have been executed.
executeValidation
in interface IJob
true
iff the step was executed successfully.protected abstract void doExecuteValidation(IConstraintViolations aViolations)
public boolean checkSubJobsValidated()
IJob
checkSubJobsValidated
in interface IJob
true
iff the validation steps of all sub jobs
have been executed.public java.lang.String toString()
public ILocation getLocation()
getLocation
in interface IHasLocation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |