A context object that can be used to interrogate the current JobExecution and some of its associated properties using expressions based on bean paths. Has public getters for the job execution and convenience methods for accessing commonly used properties like the ExecutionContext associated with the job execution.
More...
A context object that can be used to interrogate the current JobExecution and some of its associated properties using expressions based on bean paths. Has public getters for the job execution and convenience methods for accessing commonly used properties like the ExecutionContext associated with the job execution.
Summer.Batch.Core.Scope.Context.JobContext.JobContext |
( |
JobExecution |
jobExecution | ) |
|
void Summer.Batch.Core.Scope.Context.JobContext.Close |
( |
| ) |
|
Cleans 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 StepScope.
override bool Summer.Batch.Core.Scope.Context.JobContext.Equals |
( |
object |
other | ) |
|
Equals override.
- Parameters
-
- Returns
override int Summer.Batch.Core.Scope.Context.JobContext.GetHashCode |
( |
| ) |
|
GetHashCode override.
- Returns
string Summer.Batch.Core.Scope.Context.JobContext.GetId |
( |
| ) |
|
- Returns
- an unique identifier for this context based on the job execution
IReadOnlyDictionary<string, object> Summer.Batch.Core.Scope.Context.JobContext.GetJobExecutionContext |
( |
| ) |
|
- Returns
- a dictionary containing the items from the job ExecutionContext
string Summer.Batch.Core.Scope.Context.JobContext.GetJobName |
( |
| ) |
|
Convenient accessor for current job name identifier.
- Returns
IReadOnlyDictionary<string, JobParameter> Summer.Batch.Core.Scope.Context.JobContext.GetJobParameters |
( |
| ) |
|
- Returns
- a dictionary containing the items from the job ExecutionContext
void Summer.Batch.Core.Scope.Context.JobContext.RegisterDestructionCallback |
( |
string |
name, |
|
|
Task |
callback |
|
) |
| |
Registers a destruction callback.
- Parameters
-
override object Summer.Batch.Core.Scope.Context.JobContext.RemoveAttribute |
( |
string |
name | ) |
|
|
virtual |
override string Summer.Batch.Core.Scope.Context.JobContext.ToString |
( |
| ) |
|
ToString override.
- Returns
JobExecution Summer.Batch.Core.Scope.Context.JobContext.JobExecution |
|
get |
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Scope/Context/JobContext.cs