Summer.Batch.Core.IStepExecutionListener Interface Reference

Listener interface for the lifecycle of an IStep. More...

Inheritance diagram for Summer.Batch.Core.IStepExecutionListener:
Summer.Batch.Core.IStepListener Summer.Batch.Core.Listener.CompositeStepExecutionListener Summer.Batch.Core.Listener.StepExecutionListenerSupport Summer.Batch.Extra.AbstractExecutionListener Summer.Batch.Extra.EmptyCheckSupport.EmptyFileCheckTasklet Summer.Batch.Extra.IO.FileUtilsTasklet Summer.Batch.Extra.WriterResourceManager Summer.Batch.Core.Step.Tasklet.PowerShellTasklet Summer.Batch.Core.Step.Tasklet.SystemCommandTasklet

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

Listener interface for the lifecycle of an IStep.

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.


The documentation for this interface was generated from the following file:
  • Summer.Batch.Core/Core/IStepExecutionListener.cs