See: Description
Class | Description |
---|---|
FSMContext |
Base class for all SMC-generated application context classes.
|
FSMContext7 |
Base class for all SMC-generated application context classes.
|
State |
Base class for all SMC-generated context states.
|
State7 |
A single state class is used for generated Java code which
implements the FSM as a method handle table.
|
TransitionHandle |
Encapsulates a
transition method handle ,
tracking whether the transition is a Default or not. |
Exception | Description |
---|---|
StateUndefinedException |
A
StateUndefinedException is thrown by
an SMC-generated state machine whenever a transition is taken
and there is no state currently set. |
TransitionUndefinedException |
A
TransitionUndefinedException is thrown by
an SMC-generated state machine whenever a transition is taken
which:
Is not explicitly defined in the current state and
Is not explicitly defined in the current FSM's default
state and
There is no Default transition in the current state. |
This package contains the run-time classes used by SMC-generated Java code. These classes must be in the classpath when running an application which contains SMC-generated Java code.
SMC-generated code uses two classes:
FSMContext
and State
.
FSMContext
is the base class for the generated
context class which connects application code to the finite
state machine. State
is the base class for all
generated states, storing the state name and unique
identifier. Classes FSMContext7
and
State7
are used when -java7
target
is specified.
Copyright © 2020. All rights reserved.