Java org.springframework.batch.core.job SimpleJob fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.batch.core.job SimpleJob fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.batch.core.job SimpleJob.

The text is from its open source code.

Constructor

SimpleJob()
Default constructor for job with null name
SimpleJob(String name)

Method

voidaddStep(Step step)
Convenience method for adding a single step to the job.
voidafterPropertiesSet()
Assert mandatory properties: JobRepository .
voidsetJobExecutionListeners(JobExecutionListener[] listeners)
Public setter for injecting JobExecutionListener s.
voidsetJobRepository(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.
voidsetName(String name)
Set the name property.
voidsetSteps(List steps)
Public setter for the steps in this job.