S - type can be of any class which is an immediate subclass
of FiniteStateMachine.StateE - type can be of any class which is an immediate subclass
of FiniteStateMachine.EventA - type of args for action callbackspublic static class FiniteStateMachine.EventTable<S extends FiniteStateMachine.State,E extends FiniteStateMachine.Event,A>
extends java.lang.Object
| Constructor and Description |
|---|
EventTable(E event,
S conditionState,
S nextState,
FiniteStateMachine.ActionCallback<A> actionCallback)
Constructor for an event.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public final E extends FiniteStateMachine.Event event
public final S extends FiniteStateMachine.State conditionState
public final S extends FiniteStateMachine.State nextState
public EventTable(E event, S conditionState, S nextState, FiniteStateMachine.ActionCallback<A> actionCallback)
event - Event under interest to create an event tableconditionState - state of an object for which event is defined to alter.nextState - final state to which the event is defined to drive.actionCallback - callback to trigger action for the event.