public interface StepExecutionListener extends StepListener
|Modifier and Type||Method and Description|
Give a listener a chance to modify the exit status from a step.
Initialize the state of the listener with the
void beforeStep(StepExecution stepExecution)
StepExecutionfrom the current scope.
stepExecution- instance of
@Nullable ExitStatus afterStep(StepExecution stepExecution)
ExitStatus.and(ExitStatus). Called after execution of step's processing logic (both successful or failed). Throwing exception in this method has no effect, it will only be logged.