Summer.Batch.Core.Job.Builder.JobFlowBuilder Class Reference

Job Flow builder. More...

Inheritance diagram for Summer.Batch.Core.Job.Builder.JobFlowBuilder:
Summer.Batch.Core.Job.Builder.FlowBuilder< FlowJobBuilder >

Public Member Functions

 JobFlowBuilder (FlowJobBuilder parent)
 Custom constructor using a parent JobFlowBuilder. More...
 
 JobFlowBuilder (FlowJobBuilder parent, IStep step)
 Custom constructor using a parent JobFlowBuilder and a step. More...
 
 JobFlowBuilder (FlowJobBuilder parent, IFlow flow)
 Custom constructor using a parent JobFlowBuilder and a flow. More...
 
override FlowJobBuilder Build ()
 Builds a flow and inject it into the parent builder. The parent builder is then returned so it can be enhanced before building an actual job. Normally called explicitly via End(). More...
 
- Public Member Functions inherited from Summer.Batch.Core.Job.Builder.FlowBuilder< FlowJobBuilder >
 FlowBuilder (string name)
 Custom constructor using a name. More...
 
FlowBuilder< T > Next (IStep step)
 Transition to the next step on completion of the current step, except if the current step has failed. More...
 
FlowBuilder< T > Next (IFlow flow)
 Go next on successful completion to a subflow. More...
 
FlowBuilder< T > Start (IStep step)
 Start a flow. If some steps are already registered, just a synonym for From(IStep). More...
 
FlowBuilder< T > Start (IFlow flow)
 If a flow should start with a subflow use this as the first state. More...
 
FlowBuilder< T > From (IStep step)
 Go back to a previously registered step and start a new path. If no steps are registered yet just a synonym for Start(IStep). More...
 
FlowBuilder< T > From (IFlow flow)
 Starts again from a subflow that was already registered. More...
 
SplitBuilder Split (ITaskExecutor executor)
 Splits the flow. More...
 
TransitionBuilder On (string pattern)
 Starts a transition to a new state if the exit status from the previous state matches the pattern given. Successful completion normally results in an exit status equal to (or starting with by convention) "COMPLETED". More...
 
End ()
 A synonym for Build which callers might find useful. Subclasses can override build to create an object of the desired type (e.g. a parent builder or an actual flow). More...
 

Additional Inherited Members

- Protected Member Functions inherited from Summer.Batch.Core.Job.Builder.FlowBuilder< FlowJobBuilder >
IFlow Flow ()
 Builds a new flow that will be returned by Build. More...
 

Detailed Description

Job Flow builder.

Constructor & Destructor Documentation

Summer.Batch.Core.Job.Builder.JobFlowBuilder.JobFlowBuilder ( FlowJobBuilder  parent)

Custom constructor using a parent JobFlowBuilder.

Parameters
parent
Summer.Batch.Core.Job.Builder.JobFlowBuilder.JobFlowBuilder ( FlowJobBuilder  parent,
IStep  step 
)

Custom constructor using a parent JobFlowBuilder and a step.

Parameters
parent
step
Summer.Batch.Core.Job.Builder.JobFlowBuilder.JobFlowBuilder ( FlowJobBuilder  parent,
IFlow  flow 
)

Custom constructor using a parent JobFlowBuilder and a flow.

Parameters
parent
flow

Member Function Documentation

override FlowJobBuilder Summer.Batch.Core.Job.Builder.JobFlowBuilder.Build ( )
virtual

Builds a flow and inject it into the parent builder. The parent builder is then returned so it can be enhanced before building an actual job. Normally called explicitly via End().

Returns

Reimplemented from Summer.Batch.Core.Job.Builder.FlowBuilder< FlowJobBuilder >.


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