Very simple ICompletionPolicy that bases its decision on the result of a batch operation. If the result is null or not continuable according to the RepeatStatus the batch is complete, otherwise not. More...
Public Member Functions | |
override bool | IsComplete (IRepeatContext context, RepeatStatus result) |
True if the result is null, or a RepeatStatus indicating completion. More... | |
override bool | IsComplete (IRepeatContext context) |
Always false. More... | |
Public Member Functions inherited from Summer.Batch.Infrastructure.Repeat.Policy.CompletionPolicySupport | |
virtual IRepeatContext | Start (IRepeatContext parent) |
Builds a new IRepeatContext and returns it. More... | |
void | Update (IRepeatContext context) |
Increments the context so the counter is up to date. Do nothing else. More... | |
Detailed Description
Very simple ICompletionPolicy that bases its decision on the result of a batch operation. If the result is null or not continuable according to the RepeatStatus the batch is complete, otherwise not.
Member Function Documentation
|
virtual |
True if the result is null, or a RepeatStatus indicating completion.
- Parameters
-
context result
- Returns
Reimplemented from Summer.Batch.Infrastructure.Repeat.Policy.CompletionPolicySupport.
Reimplemented in Summer.Batch.Infrastructure.Repeat.Policy.SimpleCompletionPolicy.
|
virtual |
Always false.
- Parameters
-
context
- Returns
Reimplemented from Summer.Batch.Infrastructure.Repeat.Policy.CompletionPolicySupport.
Reimplemented in Summer.Batch.Infrastructure.Repeat.Policy.SimpleCompletionPolicy.
The documentation for this class was generated from the following file:
- Summer.Batch.Infrastructure/Repeat/Policy/DefaultResultCompletionPolicy.cs