Class FlowNavigatorImpl
- java.lang.Object
-
- com.ibm.jbatch.container.navigator.AbstractNavigatorImpl<com.ibm.jbatch.jsl.model.Flow>
-
- com.ibm.jbatch.container.navigator.FlowNavigatorImpl
-
- All Implemented Interfaces:
ModelNavigator<com.ibm.jbatch.jsl.model.Flow>
public class FlowNavigatorImpl extends AbstractNavigatorImpl<com.ibm.jbatch.jsl.model.Flow> implements ModelNavigator<com.ibm.jbatch.jsl.model.Flow>
-
-
Constructor Summary
Constructors Constructor Description FlowNavigatorImpl(com.ibm.jbatch.jsl.model.Flow flow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionElementgetFirstExecutionElement(String restartOn)TransitiongetNextTransition(ExecutionElement currentExecutionElem, ExecutionStatus currentStatus)Enforces "can't revisit already visited steps rule".com.ibm.jbatch.jsl.model.FlowgetRootModelElement()E.g.StringtoString()-
Methods inherited from class com.ibm.jbatch.container.navigator.AbstractNavigatorImpl
getFirstExecutionElement, getFirstExecutionElement, getNextTransition
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ibm.jbatch.container.navigator.ModelNavigator
getFirstExecutionElement
-
-
-
-
Method Detail
-
getFirstExecutionElement
public ExecutionElement getFirstExecutionElement(String restartOn) throws IllegalTransitionException
- Specified by:
getFirstExecutionElementin interfaceModelNavigator<com.ibm.jbatch.jsl.model.Flow>- Returns:
- Throws:
IllegalTransitionException
-
getNextTransition
public Transition getNextTransition(ExecutionElement currentExecutionElem, ExecutionStatus currentStatus) throws IllegalTransitionException
Description copied from interface:ModelNavigatorEnforces "can't revisit already visited steps rule".- Specified by:
getNextTransitionin interfaceModelNavigator<com.ibm.jbatch.jsl.model.Flow>- Throws:
IllegalTransitionException
-
getRootModelElement
public com.ibm.jbatch.jsl.model.Flow getRootModelElement()
Description copied from interface:ModelNavigatorE.g. the JSLJob for a job, the Flow for a flow, etc.- Specified by:
getRootModelElementin interfaceModelNavigator<com.ibm.jbatch.jsl.model.Flow>- Returns:
-
-