A context object that can be used to interrogate the current StepExecution and some of its associated properties using expressions based on bean paths. Has public getters for the step execution and convenience methods for accessing commonly used properties like the ExecutionContext associated with the step or its enclosing job execution.
Наследование: Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor
Пример #1
0
 /// <summary>
 /// Custom constructor with a step context.
 /// </summary>
 /// <param name="stepContext"></param>
 public ChunkContext(StepContext stepContext)
 {
     _stepContext = stepContext;
 }
Пример #2
0
 /// <summary>
 /// Custom constructor with a step context.
 /// </summary>
 /// <param name="stepContext"></param>
 public ChunkContext(StepContext stepContext)
 {
     _stepContext = stepContext;
 }