- getDebugFlag() - Method in class statemap.FSMContext
-
When debug is set to true
, the state machine
will print messages to the console.
- getDebugFlag() - Method in class statemap.FSMContext7
-
When debug is set to true
, the state machine
will print messages to the console.
- getDebugStream() - Method in class statemap.FSMContext
-
Writes the debug output to this stream.
- getDebugStream() - Method in class statemap.FSMContext7
-
Writes the debug output to this stream.
- getId() - Method in class statemap.State
-
Returns the unique integer identifier.
- getId() - Method in class statemap.State7
-
Returns the unique integer identifier.
- getName() - Method in class statemap.FSMContext
-
Returns the FSM name.
- getName() - Method in class statemap.FSMContext7
-
Returns the FSM name.
- getName() - Method in class statemap.State
-
Returns the state name.
- getName() - Method in class statemap.State7
-
Returns the state name.
- getPreviousState() - Method in class statemap.FSMContext
-
If this FSM is in transition, then returns the previous
state which the last transition left.
- getPreviousState() - Method in class statemap.FSMContext7
-
If this FSM is in transition, then returns the previous
state which the last transition left.
- getState() - Method in class statemap.FSMContext7
-
Returns the current state.
- getTransition() - Method in class statemap.FSMContext
-
If this FSM is in transition, then returns the transition
name.
- getTransition() - Method in class statemap.FSMContext7
-
If this FSM is in transition, then returns the transition
name.
- getTransitions() - Method in class statemap.State7
-
Returns the state transition names.
- setDebugFlag(boolean) - Method in class statemap.FSMContext
-
Turns debug output on if flag
is true
and
off if flag
is false
.
- setDebugFlag(boolean) - Method in class statemap.FSMContext7
-
Turns debug output on if flag
is true
and
off if flag
is false
.
- setDebugStream(PrintStream) - Method in class statemap.FSMContext
-
Sets the debug output stream to the given value.
- setDebugStream(PrintStream) - Method in class statemap.FSMContext7
-
Sets the debug output stream to the given value.
- setName(String) - Method in class statemap.FSMContext
-
Sets the FSM name.
- setName(String) - Method in class statemap.FSMContext7
-
Sets the FSM name.
- setState(State) - Method in class statemap.FSMContext
-
Sets the current state to the given value.
- setState(State7) - Method in class statemap.FSMContext7
-
Sets the current state to the given value.
- State - Class in statemap
-
Base class for all SMC-generated context states.
- State(String, int) - Constructor for class statemap.State
-
Creates a state instance with the given name and unique
integer identifier.
- State7 - Class in statemap
-
A single state class is used for generated Java code which
implements the FSM as a method handle table.
- State7(String, int, MethodHandle, MethodHandle, TransitionHandle[], String[]) - Constructor for class statemap.State7
-
Creates a state instance with the given name and unique
integer identifier.
- STATE_NAME_FORMAT - Static variable in class statemap.FSMContext7
-
The state entry method name is:
"<map>_<state>".
- STATE_PROPERTY - Static variable in class statemap.FSMContext7
-
The state change property name.
- statemap - package statemap
-
This package contains the run-time classes used by
SMC-generated Java code.
- stateName() - Method in class statemap.FSMContext7
-
Returns the name of the current state or previous state
if in transition.
- StateUndefinedException - Exception in statemap
-
A StateUndefinedException
is thrown by
an SMC-generated state machine whenever a transition is taken
and there is no state currently set.
- StateUndefinedException() - Constructor for exception statemap.StateUndefinedException
-
Default constructor.
- StateUndefinedException(String) - Constructor for exception statemap.StateUndefinedException
-
Constructs a StateUndefinedException
with a detail message.
- SYSTEM_DEFAULT - Static variable in class statemap.FSMContext7
-
The ultimate system default transition method is
"defaultTransition".