S
- the type of stateE
- the type of eventpublic interface Transition<S,E>
Transition
is something what a state machine associates with a state
changes.Modifier and Type | Method and Description |
---|---|
java.util.Collection<Action<S,E>> |
getActions()
Gets the transition actions.
|
TransitionKind |
getKind()
Gets the transition kind.
|
SecurityRule |
getSecurityRule()
Gets the security rule.
|
State<S,E> |
getSource()
Gets the source state of this transition.
|
State<S,E> |
getTarget()
Gets the target state of this transition.
|
Trigger<S,E> |
getTrigger()
Gets the transition trigger.
|
boolean |
transit(StateContext<S,E> context)
Transit this transition with a give state context.
|
boolean transit(StateContext<S,E> context)
context
- the state contextState<S,E> getSource()
State<S,E> getTarget()
java.util.Collection<Action<S,E>> getActions()
TransitionKind getKind()
SecurityRule getSecurityRule()