public interface StepHandler
| Modifier and Type | Method and Description |
|---|---|
StepExecution |
handleStep(Step step,
JobExecution jobExecution)
Handle a step and return the execution for it.
|
StepExecution handleStep(Step step, JobExecution jobExecution) throws JobInterruptedException, JobRestartException, StartLimitExceededException
JobExecution, but should manage the persistence of the
StepExecution if required (e.g. at least it needs to be added to
a repository before the step can be executed).step - a StepjobExecution - a JobExecutionJobInterruptedException - if there is an interruptionJobRestartException - if there is a problem restarting a failed
stepStartLimitExceededException - if the step exceeds its start limitJob.execute(JobExecution),
Step.execute(StepExecution)