public class NoWorkFoundStepExecutionListener extends StepExecutionListenerSupport
Constructor and Description |
---|
NoWorkFoundStepExecutionListener() |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
afterStep(StepExecution stepExecution)
Give a listener a chance to modify the exit status from a step.
|
beforeStep
public ExitStatus afterStep(StepExecution stepExecution)
StepExecutionListener
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.afterStep
in interface StepExecutionListener
afterStep
in class StepExecutionListenerSupport
ExitStatus
to combine with the normal value. Return
null to leave the old value unchanged.Copyright © 2014 Pivotal. All rights reserved.