public class JsrFlow extends SimpleFlow
Flow implementation will attempt to find the next state based on the provided
exit status. If none is found (the exit status isn't mapped), it will attempt to
resolve the next state basing it on the last step's batch status. Only if both
attempts fail, the flow will fail due to the inability to find the next state.| Constructor and Description |
|---|
JsrFlow(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMostRecentStepName() |
protected boolean |
isFlowContinued(State state,
FlowExecutionStatus status,
StepExecution stepExecution) |
protected State |
nextState(java.lang.String stateName,
FlowExecutionStatus status,
StepExecution stepExecution) |
afterPropertiesSet, getName, getStartState, getState, getStateMap, getStates, getTransitionMap, resume, setStateTransitionComparator, setStateTransitions, startpublic java.lang.String getMostRecentStepName()
protected boolean isFlowContinued(State state, FlowExecutionStatus status, StepExecution stepExecution)
isFlowContinued in class SimpleFlowprotected State nextState(java.lang.String stateName, FlowExecutionStatus status, StepExecution stepExecution) throws FlowExecutionException
nextState in class SimpleFlowStep (or null if this is the end)FlowExecutionException