S - the type of stateE - the type of eventpublic static class StateMachineTransitions.TransitionData<S,E>
extends java.lang.Object
| Constructor and Description |
|---|
TransitionData(S source,
S target,
S state,
E event,
java.lang.Long period,
java.util.Collection<Action<S,E>> actions,
Guard<S,E> guard,
TransitionKind kind)
Instantiates a new transition data.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Action<S,E>> |
getActions()
Gets the actions.
|
E |
getEvent()
Gets the event.
|
Guard<S,E> |
getGuard()
Gets the guard.
|
TransitionKind |
getKind()
Gets the kind.
|
java.lang.Long |
getPeriod()
Gets the period.
|
S |
getSource()
Gets the source.
|
S |
getState()
Gets the state.
|
S |
getTarget()
Gets the target.
|
public TransitionData(S source, S target, S state, E event, java.lang.Long period, java.util.Collection<Action<S,E>> actions, Guard<S,E> guard, TransitionKind kind)
source - the sourcetarget - the targetstate - the stateevent - the eventperiod - the periodactions - the actionsguard - the guardkind - the kindpublic S getSource()
public S getTarget()
public S getState()
public E getEvent()
public java.lang.Long getPeriod()
public java.util.Collection<Action<S,E>> getActions()
public TransitionKind getKind()