Method | Description | |
---|---|---|
AfterPropertiesSet ( ) : void |
used programmatically by JobStepBuilder ... IInitializationPostOperations#AfterPropertiesSet.
|
|
Execute ( StepExecution stepExecution ) : void |
Template method for step execution logic - calls abstract methods for resource initialization ( Open), execution Logic (DoExecute) and resource closing (Close).
|
|
RegisterStepExecutionListener ( IStepExecutionListener listener ) : void |
Registers step execution listener.
|
|
SetStepExecutionListeners ( IStepExecutionListener listeners ) : void |
Registers an array of step execution listeners.
|
|
ToString ( ) : string |
ToString override.
|
Method | Description | |
---|---|---|
AbstractStep ( ) : NLog |
Default constructor.
|
|
AbstractStep ( string name ) : NLog |
Custom constructor with name.
|
|
Close ( ExecutionContext ctx ) : void |
Extension point for subclasses to provide callbacks to their collaborators at the end of a step, to close or release resources. Does nothing by default.
|
|
DoExecute ( StepExecution stepExecution ) : void |
Extension point for subclasses to execute business logic. Subclasses should set the ExitStatus on the StepExecution before returning.
|
|
DoExecutionRegistration ( StepExecution stepExecution ) : void |
Registers the StepExecution for property resolution via StepScope
|
|
DoExecutionRelease ( ) : void |
Releases the most recent StepExecution
|
|
Open ( ExecutionContext ctx ) : void |
Extension point for subclasses to provide callbacks to their collaborators at the beginning of a step, to open or acquire resources. Does nothing by default.
|
Method | Description | |
---|---|---|
DetermineBatchStatus ( |
Determines the step status based on the exception.
|
|
GetDefaultExitStatusForFailure ( |
Default mapping from Exception to ExitStatus. Clients can modify the exit code using a StepExecutionListener.
|
|
HandleCloseAndRelease ( StepExecution stepExecution ) : void |
|
|
HandleExecution ( StepExecution stepExecution ) : ExitStatus |
|
|
HandleExecutionException ( StepExecution stepExecution, |
|
|
HandleListener ( StepExecution stepExecution, ExitStatus exitStatus ) : ExitStatus |
|
|
HandleUpdateExecutionContext ( StepExecution stepExecution, ExitStatus exitStatus ) : ExitStatus |
|
|
HandleUpdateStepExecution ( StepExecution stepExecution, ExitStatus exitStatus ) : void |
|
protected AbstractStep ( string name ) : NLog | ||
name | string | |
return | NLog |
protected Close ( ExecutionContext ctx ) : void | ||
ctx | ExecutionContext | |
return | void |
protected abstract DoExecute ( StepExecution stepExecution ) : void | ||
stepExecution | StepExecution | |
return | void |
protected DoExecutionRegistration ( StepExecution stepExecution ) : void | ||
stepExecution | StepExecution | |
return | void |
public Execute ( StepExecution stepExecution ) : void | ||
stepExecution | StepExecution | |
return | void |
protected Open ( ExecutionContext ctx ) : void | ||
ctx | ExecutionContext | |
return | void |
public RegisterStepExecutionListener ( IStepExecutionListener listener ) : void | ||
listener | IStepExecutionListener | |
return | void |
public SetStepExecutionListeners ( IStepExecutionListener listeners ) : void | ||
listeners | IStepExecutionListener | |
return | void |