S
- the type of stateE
- the type of eventpublic class JoinPseudoState<S,E> extends AbstractPseudoState<S,E>
PseudoState
.Constructor and Description |
---|
JoinPseudoState(java.util.List<State<S,E>> joins)
Instantiates a new join pseudo state.
|
Modifier and Type | Method and Description |
---|---|
State<S,E> |
entry(StateContext<S,E> context)
Initiate an entry sequence for the state and return a next
state where state machine should go.
|
void |
exit(StateContext<S,E> context)
Initiate an exit sequence for the state.
|
java.util.List<State<S,E>> |
getJoins()
Gets the join states.
|
addPseudoStateListener, getKind, notifyContext
public State<S,E> entry(StateContext<S,E> context)
PseudoState
entry
in interface PseudoState<S,E>
entry
in class AbstractPseudoState<S,E>
context
- the contextpublic void exit(StateContext<S,E> context)
PseudoState
exit
in interface PseudoState<S,E>
exit
in class AbstractPseudoState<S,E>
context
- the context