Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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". See ExitStatus for commonly used values.
        Parameters:
        pattern - the pattern of exit status on which to take this transition
        Returns:
        a TransitionBuilder