Method | Description | |
---|---|---|
Close ( ) : void |
Clean up the context at the end of a step execution. Must be called once at the end of a step execution to honour the destruction callback contract from the Step Scope.
|
|
Equals ( object other ) : bool |
Equals override.
|
|
GetHashCode ( ) : int |
Overrides the default behaviour to provide a hash code based only on the step execution.
|
|
GetId ( ) : string |
|
|
GetJobExecutionContext ( ) : object>.IReadOnlyDictionary |
Returns the job execution context.
|
|
GetJobName ( ) : string |
Convenient accessor for current job name identifier.
|
|
GetJobParameters ( ) : JobParameter>.IReadOnlyDictionary |
Returns the job parameters.
|
|
GetStepExecutionContext ( ) : object>.IReadOnlyDictionary |
Returns the step execution context.
|
|
GetStepName ( ) : string |
Convenient accessor for current step name identifier. Usually this is the same as the bean name of the step that is executing (but might not be e.g. in a partition).
|
|
RegisterDestructionCallback ( string name, System.Threading.Tasks.Task callback ) : void |
Allow clients to register callbacks for clean up on close.
|
|
RemoveAttribute ( string name ) : object |
Override base class behaviour to ensure destruction callbacks are unregistered as well as the default behaviour.
|
|
StepContext ( StepExecution stepExecution ) : System |
Create a new instance of StepContext for this StepExecution.
|
|
ToString ( ) : string |
ToString override.
|
Method | Description | |
---|---|---|
UnregisterDestructionCallbacks ( string name ) : void |
Unregisters destruction callback.
|
public GetJobExecutionContext ( ) : object>.IReadOnlyDictionary |
||
return | object>.IReadOnlyDictionary |
public GetJobParameters ( ) : JobParameter>.IReadOnlyDictionary |
||
return | JobParameter>.IReadOnlyDictionary |
public GetStepExecutionContext ( ) : object>.IReadOnlyDictionary |
||
return | object>.IReadOnlyDictionary |
public RegisterDestructionCallback ( string name, System.Threading.Tasks.Task callback ) : void | ||
name | string | the callback id (unique attribute key in this context) |
callback | System.Threading.Tasks.Task | a callback to execute on close |
return | void |
public RemoveAttribute ( string name ) : object | ||
name | string | |
return | object |
public StepContext ( StepExecution stepExecution ) : System | ||
stepExecution | StepExecution | |
return | System |