Package org.springframework.batch.core.job.builder

# 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 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

  Modifier and Type
  Method
  Description
  `FlowBuilder.TransitionBuilder<Q>`
  `on(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 Details

  - ### UnterminatedFlowBuilder

    public UnterminatedFlowBuilder(FlowBuilder<Q> parent)

- ## Method Details

  - ### on

    public FlowBuilder.TransitionBuilder<Q> on(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