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

Base class for all step builders. Holds the common attributes to all steps. More...

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

Public Member Functions

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

 AbstractStepBuilder (IUnityContainer container, string name)
 Default constructor. More...
 

Protected Attributes

readonly IUnityContainer Container
 The container that will be used to resolve the step. More...
 

Properties

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 all step builders. Holds the common attributes to all steps.

Constructor & Destructor Documentation

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

Default constructor.

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

Member Function Documentation

IStep Summer.Batch.Core.Step.Builder.AbstractStepBuilder.Build ( )

Builds the step.

Returns
the built step
AbstractStepBuilder Summer.Batch.Core.Step.Builder.AbstractStepBuilder.Listener ( Type  type,
string  listener 
)

Adds a new listener.

Parameters
typethe type to use when resolving the listener
listenerthe name to use when resolving the listener
Returns
the current step builder
AbstractStepBuilder Summer.Batch.Core.Step.Builder.AbstractStepBuilder.Repository ( IJobRepository  jobRepository)

Sets the job repository.

Parameters
jobRepositorythe new job repository
Returns
the current step builder

Member Data Documentation

readonly IUnityContainer Summer.Batch.Core.Step.Builder.AbstractStepBuilder.Container
protected

The container that will be used to resolve the step.

Property Documentation

bool Summer.Batch.Core.Step.Builder.AbstractStepBuilder.AllowStartIfComplete
getset

Allow start if complete flag property.

abstract IEnumerable<InjectionMember> Summer.Batch.Core.Step.Builder.AbstractStepBuilder.InjectionMembers
getprotected

The injection members to register for the step.

IJobRepository Summer.Batch.Core.Step.Builder.AbstractStepBuilder.JobRepository
getset

The job repository of the step.

string Summer.Batch.Core.Step.Builder.AbstractStepBuilder.Name
get

The name of the step.

int Summer.Batch.Core.Step.Builder.AbstractStepBuilder.StartLimit
getset

Start limit property.

abstract Type Summer.Batch.Core.Step.Builder.AbstractStepBuilder.Type
getprotected

The concrete type of the step to build.


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