org.springframework.batch.core.job.builder
Class FlowBuilder.UnterminatedFlowBuilder<Q>

java.lang.Object
  extended by 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
FlowBuilder.UnterminatedFlowBuilder(FlowBuilder<Q> parent)
           
 
Method Summary
 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 Detail

FlowBuilder.UnterminatedFlowBuilder

public FlowBuilder.UnterminatedFlowBuilder(FlowBuilder<Q> parent)
Method Detail

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


Copyright © 2013 SpringSource. All Rights Reserved.