C# Class Summer.Batch.Infrastructure.Repeat.Policy.CompletionPolicySupport

Very simple base class for ICompletionPolicy implementations.
Inheritance: ICompletionPolicy
Mostrar archivo Open project: SummerBatch/SummerBatch

Public Methods

Method Description
IsComplete ( IRepeatContext context ) : bool

Always true.

IsComplete ( IRepeatContext context, RepeatStatus result ) : bool

If exit status is not continuable returns true, otherwise delegates to #IsComplete(IRepeatContext).

Start ( IRepeatContext parent ) : IRepeatContext

Builds a new IRepeatContext and returns it.

Update ( IRepeatContext context ) : void

Increments the context so the counter is up to date. Do nothing else.

Method Details

IsComplete() public method

Always true.
public IsComplete ( IRepeatContext context ) : bool
context IRepeatContext
return bool

IsComplete() public method

If exit status is not continuable returns true, otherwise delegates to #IsComplete(IRepeatContext).
public IsComplete ( IRepeatContext context, RepeatStatus result ) : bool
context IRepeatContext
result RepeatStatus
return bool

Start() public method

Builds a new IRepeatContext and returns it.
public Start ( IRepeatContext parent ) : IRepeatContext
parent IRepeatContext
return IRepeatContext

Update() public method

Increments the context so the counter is up to date. Do nothing else.
public Update ( IRepeatContext context ) : void
context IRepeatContext
return void