Example usage for Java org.springframework.batch.core.job SimpleJob fields, constructors, methods, implement or subclass
The text is from its open source code.
SimpleJob() Default constructor for job with null name | |
SimpleJob(String name) |
void | addStep(Step step) Convenience method for adding a single step to the job. |
void | afterPropertiesSet() Assert mandatory properties: JobRepository . |
void | setJobExecutionListeners(JobExecutionListener[] listeners) Public setter for injecting JobExecutionListener s. |
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 | setName(String name) Set the name property. |
void | setSteps(List Public setter for the steps in this job. |