Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder Class Referenceabstract

Base class for tasklet based step builders. More...

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

Public Member Functions

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

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

Protected Attributes

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

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

Base class for tasklet based step builders.

Constructor & Destructor Documentation

Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.AbstractTaskletStepBuilder ( IUnityContainer  container,
string  name 
)
protected

Default constructor.

Parameters
containerthe container used to resolve the step
namethe name of the step

Member Function Documentation

AbstractTaskletStepBuilder Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.ExceptionHander ( IExceptionHandler  exceptionHandler)

Sets the exception handler.

Parameters
exceptionHandlerthe exception handler
Returns
the current step builder
abstract string Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.RegisterTasklet ( )
protectedpure virtual

Registers the tasklet with the given name.

Returns
the name of the tasklet

Implemented in Summer.Batch.Core.Step.Builder.SimpleStepBuilder, and Summer.Batch.Core.Step.Builder.TaskletStepBuilder.

AbstractTaskletStepBuilder Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.StepOperations ( IRepeatOperations  stepOperations)

Sets step operations.

Parameters
stepOperationsthe step operations
Returns
the current step builder
AbstractTaskletStepBuilder Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.Stream ( Type  type,
string  stream 
)

Adds a new stream to the step.

Parameters
typethe type to use when resolving the stream
streamthe name to use when resolving the stream
Returns
the current step builder
AbstractTaskletStepBuilder Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.TaskExecutor ( ITaskExecutor  taskExecutor)

Sets the task executor.

Parameters
taskExecutorthe task executor
Returns
the current step builder
AbstractTaskletStepBuilder Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.ThrottleLimit ( int  throttleLimit)

Sets the throttle limit.

Parameters
throttleLimitthe throttle limit
Returns
the current step builder

Member Data Documentation

const string Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.TaskletSuffix = "__tasklet"
protected

TaskletSuffix constant.

Property Documentation

sealed override IEnumerable<InjectionMember> Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.InjectionMembers
getprotected

Override InjectionMembers.

override Type Summer.Batch.Core.Step.Builder.AbstractTaskletStepBuilder.Type
getprotected

Override Type.


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