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.
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.
ExitStatusto combine with the normal value. Return null to leave the old value unchanged.
Copyright © 2014 Pivotal. All rights reserved.