Listener interface for the lifecycle of an IStep. More...
Public Member Functions | |
void | BeforeStep (StepExecution stepExecution) |
Initialize the state of the listener with the StepExecution from the current scope. More... | |
ExitStatus | AfterStep (StepExecution stepExecution) |
Give a listener a chance to modify the exit status from a step. The value returned will be combined with the normal exit status using ExitStatus::And(ExitStatus). More... | |
Detailed Description
Member Function Documentation
ExitStatus Summer.Batch.Core.IStepExecutionListener.AfterStep | ( | StepExecution | stepExecution | ) |
Give a listener a chance to modify the exit status from a step. The value returned will be combined with the normal exit status using 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.
- Parameters
-
stepExecution
- Returns
Implemented in Summer.Batch.Extra.IO.FileUtilsTasklet, Summer.Batch.Core.Listener.CompositeStepExecutionListener, Summer.Batch.Extra.AbstractExecutionListener, Summer.Batch.Extra.EmptyCheckSupport.EmptyFileCheckTasklet, Summer.Batch.Extra.WriterResourceManager, and Summer.Batch.Core.Listener.StepExecutionListenerSupport.
void Summer.Batch.Core.IStepExecutionListener.BeforeStep | ( | StepExecution | stepExecution | ) |
Initialize the state of the listener with the StepExecution from the current scope.
- Parameters
-
stepExecution
Implemented in Summer.Batch.Core.Step.Tasklet.PowerShellTasklet, Summer.Batch.Core.Step.Tasklet.SystemCommandTasklet, Summer.Batch.Extra.IO.FileUtilsTasklet, Summer.Batch.Core.Listener.CompositeStepExecutionListener, Summer.Batch.Extra.AbstractExecutionListener, Summer.Batch.Core.Listener.StepExecutionListenerSupport, Summer.Batch.Extra.EmptyCheckSupport.EmptyFileCheckTasklet, and Summer.Batch.Extra.WriterResourceManager.
The documentation for this interface was generated from the following file:
- Summer.Batch.Core/Core/IStepExecutionListener.cs