final class StateMachineSupport extends Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
(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).
|
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 nullvoid resetStateMachine()
void fireStateMachineEvent(String eventName)
eventName
- event name, must not be nullCopyright (c) 2007-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).