public class NormalStateTransitionsManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.Integer,FlowNodeState> |
stateTransitions |
| Constructor and Description |
|---|
NormalStateTransitionsManager(java.util.Map<java.lang.Integer,FlowNodeState> stateTransitions,
SFlowNodeInstance flowNodeInstance) |
| Modifier and Type | Method and Description |
|---|---|
FlowNodeState |
getNextState(FlowNodeState currentState) |
protected FlowNodeState |
getNextStateFromMap(FlowNodeState currentState) |
protected final java.util.Map<java.lang.Integer,FlowNodeState> stateTransitions
public NormalStateTransitionsManager(java.util.Map<java.lang.Integer,FlowNodeState> stateTransitions, SFlowNodeInstance flowNodeInstance)
public FlowNodeState getNextState(FlowNodeState currentState) throws SIllegalStateTransition
SIllegalStateTransitionprotected FlowNodeState getNextStateFromMap(FlowNodeState currentState)