|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Job
Batch domain object representing a job. Job is an explicit abstraction representing the configuration of a job specified by a developer. It should be noted that restart policy is applied to the job as a whole and not to a step.
Method Summary | |
---|---|
void |
execute(JobExecution execution)
Run the JobExecution and update the meta information like status
and statistics as necessary. |
JobParametersIncrementer |
getJobParametersIncrementer()
If clients need to generate new parameters for the next execution in a sequence they can use this incrementer. |
JobParametersValidator |
getJobParametersValidator()
A validator for the job parameters of a JobExecution . |
String |
getName()
|
boolean |
isRestartable()
Flag to indicate if this job can be restarted, at least in principle. |
Method Detail |
---|
String getName()
boolean isRestartable()
void execute(JobExecution execution)
JobExecution
and update the meta information like status
and statistics as necessary. This method should not throw any exceptions
for failed execution. Clients should be careful to inspect the
JobExecution
status to determine success or failure.
execution
- a JobExecution
JobParametersIncrementer getJobParametersIncrementer()
JobParametersValidator getJobParametersValidator()
JobExecution
. Clients of
a Job may need to validate the parameters for a launch, before or during
the execution.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |