예제 #1
0
 /// <summary>
 /// Custom constructor
 /// </summary>
 /// <param name="itemReader"></param>
 /// <param name="repeatOperations"></param>
 public SimpleChunkProvider(IItemReader <T> itemReader, IRepeatOperations repeatOperations)
 {
     ItemReader        = itemReader;
     _repeatOperations = repeatOperations;
 }
 /// <summary>
 /// Sets step operations.
 /// </summary>
 /// <param name="stepOperations">the step operations</param>
 /// <returns>the current step builder</returns>
 public AbstractTaskletStepBuilder StepOperations(IRepeatOperations stepOperations)
 {
     _stepOperations = stepOperations;
     return(this);
 }
 /// <summary>
 /// Sets the chunk operations.
 /// </summary>
 /// <param name="chunkOperations">the chunk operations</param>
 /// <returns>the current step builder</returns>
 public SimpleStepBuilder ChunkOperations(IRepeatOperations chunkOperations)
 {
     _chunkOperations = chunkOperations;
     return(this);
 }
예제 #4
0
 /// <summary>
 /// Sets the chunk operations.
 /// </summary>
 /// <param name="chunkOperations">the chunk operations</param>
 /// <returns>the current step builder</returns>
 public SimpleStepBuilder ChunkOperations(IRepeatOperations chunkOperations)
 {
     _chunkOperations = chunkOperations;
     return this;
 }
 /// <summary>
 /// Sets step operations.
 /// </summary>
 /// <param name="stepOperations">the step operations</param>
 /// <returns>the current step builder</returns>
 public AbstractTaskletStepBuilder StepOperations(IRepeatOperations stepOperations)
 {
     _stepOperations = stepOperations;
     return this;
 }