Class FlowBuilder.UnterminatedFlowBuilder<Q>
- java.lang.Object
- org.springframework.batch.core.job.builder.FlowBuilder.UnterminatedFlowBuilder<Q>
- Type Parameters:
Q
- the result of the builder's build()
- Enclosing class:
- FlowBuilder<Q>
public static class FlowBuilder.UnterminatedFlowBuilder<Q> extends java.lang.Object
A builder for continuing a flow from a decision state.- Author:
- Dave Syer
Constructor Summary
Constructors Constructor Description UnterminatedFlowBuilder(FlowBuilder<Q> parent)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowBuilder.TransitionBuilder<Q>
on(java.lang.String pattern)
Start a transition to a new state if the exit status from the previous state matches the pattern given.
Constructor Detail
UnterminatedFlowBuilder
public UnterminatedFlowBuilder(FlowBuilder<Q> parent)
Method Detail
on
public FlowBuilder.TransitionBuilder<Q> on(java.lang.String pattern)
Start 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". SeeExitStatus
for commonly used values.- Parameters:
pattern
- the pattern of exit status on which to take this transition- Returns:
- a TransitionBuilder