Example usage for Java org.springframework.batch.core.job AbstractJob fields, constructors, methods, implement or subclass
The text is from its open source code.
void | execute(JobExecution execution) Run the specified job, handling all listener and repository calls, and delegating the actual processing to #doExecute(JobExecution) . |
Step | getStep(String stepName) Retrieve the step with the given name. |
Collection | getStepNames() Retrieve the step names. |
void | registerJobExecutionListener(JobExecutionListener listener) Register a single listener for the JobExecutionListener callbacks. |
void | setJobExecutionListeners(JobExecutionListener[] listeners) Public setter for injecting JobExecutionListener s. |
void | setJobParametersIncrementer(JobParametersIncrementer jobParametersIncrementer) Public setter for the JobParametersIncrementer . |
void | setJobParametersValidator(JobParametersValidator jobParametersValidator) A validator for job parameters. |
void | setJobRepository(JobRepository jobRepository) Public setter for the JobRepository that is needed to manage the state of the batch meta domain (jobs, steps, executions) during the life of a job. |
void | setRestartable(boolean restartable) Boolean flag to prevent categorically a job from restarting, even if it has failed previously. |