public interface StepHandler
|Modifier and Type||Method and Description|
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
StepExecutionif required (e.g. at least it needs to be added to a repository before the step can be executed).
JobInterruptedException- if there is an interruption
JobRestartException- if there is a problem restarting a failed step
StartLimitExceededException- if the step exceeds its start limit