Summer.Batch.Core.Step.Builder.SimpleStepBuilder Class Reference

Step builder for step with reader, processor, and writer. More...

Inheritance diagram for Summer.Batch.Core.Step.Builder.SimpleStepBuilder:
Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder Summer.Batch.Core.Step.Builder.AbstractStepBuilder

Public Member Functions

 SimpleStepBuilder (IUnityContainer container, string name, Type inType, Type outType)
 Default constructor. More...
 
SimpleStepBuilder Reader (string name)
 Sets the reader. More...
 
SimpleStepBuilder Processor (string name)
 Sets the processor. More...
 
SimpleStepBuilder Writer (string name)
 Sets the writer. More...
 
SimpleStepBuilder ChunkSize (int size)
 Sets the chunk size. More...
 
SimpleStepBuilder ChunkOperations (IRepeatOperations chunkOperations)
 Sets the chunk operations. More...
 
SimpleStepBuilder CompletionPolicy (ICompletionPolicy completionPolicy)
 Sets the completion policy. More...
 
- Public Member Functions inherited from Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder
AbstractTaskletStepBuilder TaskExecutor (ITaskExecutor taskExecutor)
 Sets the task executor. More...
 
AbstractTaskletStepBuilder StepOperations (IRepeatOperations stepOperations)
 Sets step operations. More...
 
AbstractTaskletStepBuilder ExceptionHander (IExceptionHandler exceptionHandler)
 Sets the exception handler. More...
 
AbstractTaskletStepBuilder ThrottleLimit (int throttleLimit)
 Sets the throttle limit. More...
 
AbstractTaskletStepBuilder Stream (Type type, string stream)
 Adds a new stream to the step. More...
 
- Public Member Functions inherited from Summer.Batch.Core.Step.Builder.AbstractStepBuilder
AbstractStepBuilder Repository (IJobRepository jobRepository)
 Sets the job repository. More...
 
AbstractStepBuilder Listener (Type type, string listener)
 Adds a new listener. More...
 
IStep Build ()
 Builds the step. More...
 

Protected Member Functions

override string RegisterTasklet ()
 Registers the tasklet with the given name. More...
 
- Protected Member Functions inherited from Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder
 AbstractTaskletStepBuilder (IUnityContainer container, string name)
 Default constructor. More...
 
- Protected Member Functions inherited from Summer.Batch.Core.Step.Builder.AbstractStepBuilder
 AbstractStepBuilder (IUnityContainer container, string name)
 Default constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder
const string TaskletSuffix = "__tasklet"
 TaskletSuffix constant. More...
 
- Protected Attributes inherited from Summer.Batch.Core.Step.Builder.AbstractStepBuilder
readonly IUnityContainer Container
 The container that will be used to resolve the step. More...
 
- Properties inherited from Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder
override Type Type [get]
 Override Type. More...
 
sealed override IEnumerable< InjectionMember > InjectionMembers [get]
 Override InjectionMembers. More...
 
- Properties inherited from Summer.Batch.Core.Step.Builder.AbstractStepBuilder
string Name [get]
 The name of the step. More...
 
int StartLimit [get, set]
 Start limit property. More...
 
bool AllowStartIfComplete [get, set]
 Allow start if complete flag property. More...
 
IJobRepository JobRepository [get, set]
 The job repository of the step. More...
 
abstract Type Type [get]
 The concrete type of the step to build. More...
 
abstract IEnumerable< InjectionMember > InjectionMembers [get]
 The injection members to register for the step. More...
 

Detailed Description

Step builder for step with reader, processor, and writer.

Constructor & Destructor Documentation

Summer.Batch.Core.Step.Builder.SimpleStepBuilder.SimpleStepBuilder ( IUnityContainer  container,
string  name,
Type  inType,
Type  outType 
)

Default constructor.

Parameters
containerThe container used to resolve the step.
nameThe name of the step.
inTypeThe type of the read items.
outTypeThe type of the written items.

Member Function Documentation

SimpleStepBuilder Summer.Batch.Core.Step.Builder.SimpleStepBuilder.ChunkOperations ( IRepeatOperations  chunkOperations)

Sets the chunk operations.

Parameters
chunkOperationsthe chunk operations
Returns
the current step builder
SimpleStepBuilder Summer.Batch.Core.Step.Builder.SimpleStepBuilder.ChunkSize ( int  size)

Sets the chunk size.

Parameters
sizethe chunk size
Returns
the current step builder
SimpleStepBuilder Summer.Batch.Core.Step.Builder.SimpleStepBuilder.CompletionPolicy ( ICompletionPolicy  completionPolicy)

Sets the completion policy.

Parameters
completionPolicythe completion policy
Returns
the current step builder
SimpleStepBuilder Summer.Batch.Core.Step.Builder.SimpleStepBuilder.Processor ( string  name)

Sets the processor.

Parameters
namethe name of the processor
Returns
the current step builder
SimpleStepBuilder Summer.Batch.Core.Step.Builder.SimpleStepBuilder.Reader ( string  name)

Sets the reader.

Parameters
namethe name of the reader
Returns
the current step builder
override string Summer.Batch.Core.Step.Builder.SimpleStepBuilder.RegisterTasklet ( )
protectedvirtual

Registers the tasklet with the given name.

Returns
the name of the tasklet

Implements Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.

SimpleStepBuilder Summer.Batch.Core.Step.Builder.SimpleStepBuilder.Writer ( string  name)

Sets the writer.

Parameters
namethe name of the writer
Returns
the current step builder

The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Step/Builder/SimpleStepBuilder.cs