Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder Class Reference
A builder for transitions within a flow. More...
Public Member Functions | |
TransitionBuilder (FlowBuilder< T > parent, string pattern) | |
Custom constructor using parent and pattern. More... | |
FlowBuilder< T > | To (IStep step) |
Specify the next step and return a FlowBuilder for chaining. More... | |
FlowBuilder< T > | To (IFlow flow) |
Specify the next state as a complete flow and return a FlowBuilder for chaining. More... | |
FlowBuilder< T > | Stop () |
Signal the successful end of the flow and return a FlowBuilder for chaining. More... | |
FlowBuilder< T > | StopAndRestart (IFlow flow) |
Stop and Restart flow and return a FlowBuilder for chaining. More... | |
FlowBuilder< T > | StopAndRestart (IStep step) |
Stop the flow and provide a decider to start with if the flow is restarted. Return a FlowBuilder for chaining. More... | |
FlowBuilder< T > | End () |
End and return a FlowBuilder for chaining. More... | |
FlowBuilder< T > | End (string status) |
Signal the successful end of the flow and return a FlowBuilder for chaining. More... | |
FlowBuilder< T > | Fail () |
Signal the end of the flow with an error condition return a FlowBuilder for chaining. More... | |
Detailed Description
A builder for transitions within a flow.
Constructor & Destructor Documentation
Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder.TransitionBuilder | ( | FlowBuilder< T > | parent, |
string | pattern | ||
) |
Custom constructor using parent and pattern.
- Parameters
-
parent pattern
Member Function Documentation
FlowBuilder<T> Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder.End | ( | ) |
End and return a FlowBuilder for chaining.
- Returns
FlowBuilder<T> Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder.End | ( | string | status | ) |
Signal the successful end of the flow and return a FlowBuilder for chaining.
- Parameters
-
status
- Returns
FlowBuilder<T> Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder.Fail | ( | ) |
Signal the end of the flow with an error condition return a FlowBuilder for chaining.
- Returns
FlowBuilder<T> Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder.Stop | ( | ) |
Signal the successful end of the flow and return a FlowBuilder for chaining.
- Returns
FlowBuilder<T> Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder.StopAndRestart | ( | IFlow | flow | ) |
FlowBuilder<T> Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder.StopAndRestart | ( | IStep | step | ) |
Stop the flow and provide a decider to start with if the flow is restarted. Return a FlowBuilder for chaining.
- Parameters
-
step
- Returns
FlowBuilder<T> Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder.To | ( | IStep | step | ) |
FlowBuilder<T> Summer.Batch.Core.Job.Builder.FlowBuilder< T >.TransitionBuilder.To | ( | IFlow | flow | ) |
Specify the next state as a complete flow and return a FlowBuilder for chaining.
- Parameters
-
flow
- Returns
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Job/Builder/FlowBuilder.cs