E - type can be of any class which is an immediate subclass
of FiniteStateMachine.EventA - type of args for action callbackspublic static interface FiniteStateMachine.EntryActionCallback<E,A>
| Modifier and Type | Method and Description |
|---|---|
E |
triggerEntry(A val)
Function whose implementation would be triggered when state machine enters a new state.
|
E triggerEntry(A val)
val - Args that was given to FiniteStateMachine.handleEvent(Event, Object)FiniteStateMachine.Event, if returned object is nonnull then
state machine would handle returned event.