|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dishevelled.piccolo.identify.StateMachineSupport
final class StateMachineSupport
State machine support class, meant to be delegated to. Provided an instance of a state machine, this class manages a state machine executor, allows delegators to fire state machine events, and responds to transition entry events by invoking methods on the delegating class via reflection. Most methods on this class fail silently instead of throwing state machine- or reflection-specific exceptions.
| Constructor Summary | |
|---|---|
StateMachineSupport(Object delegator,
SCXML stateMachine)
Create a new state machine support class to be delegated to by the specified delegator with the specified state machine. |
|
| Method Summary | |
|---|---|
(package private) void |
fireStateMachineEvent(String eventName)
Fire an event with the specified event name on the state machine for this state machine support class (fails silently). |
(package private) void |
resetStateMachine()
Reset the state machine for this state machine support class to its "initial" configuration (fails silently). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
StateMachineSupport(Object delegator,
SCXML stateMachine)
delegator - object delegating to this state machine support
class, must not be nullstateMachine - state machine for this support class, must
not be null| Method Detail |
|---|
void resetStateMachine()
void fireStateMachineEvent(String eventName)
eventName - event name, must not be null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||