|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FSM | |
|---|---|
| org.glassfish.pfl.basic.fsm | |
| Uses of FSM in org.glassfish.pfl.basic.fsm |
|---|
| Classes in org.glassfish.pfl.basic.fsm that implement FSM | |
|---|---|
class |
FSMImpl
This is the main class that represents an instance of a state machine using a state engine. |
| Methods in org.glassfish.pfl.basic.fsm that return FSM | |
|---|---|
FSM |
FSM.getParent()
Get the parent state machine. |
FSM |
FSMImpl.getParent()
|
FSM |
Runner.peek()
Return the top fsm on the stack. |
FSM |
Runner.pop()
|
FSM |
State.preAction(FSM fsm)
Method that defines action that occurs whenever this state is entered from a different state. |
| Methods in org.glassfish.pfl.basic.fsm with parameters of type FSM | |
|---|---|
void |
Action.doIt(FSM fsm,
Input in)
Called by the state engine to perform an action before a state transition takes place. |
Guard.Result |
Guard.evaluate(FSM fsm,
Input in)
Called by the state engine to determine whether a transition is enabled, defered, or disabled. |
void |
State.postAction(FSM fsm)
Method that defines action that occurs whenever this state is exited, that is, when the state is changed from this state to a new state. |
FSM |
State.preAction(FSM fsm)
Method that defines action that occurs whenever this state is entered from a different state. |
void |
Runner.push(FSM fsm)
Push a new fsm onto the stack. |
State |
State.returnAction(FSM fsm,
FSM nestedFSM)
If this state has Kind REFERENCE, and its preAction pushes a nested FSM onto the stack, the returnAction method is called after the nested FSM reaches a final state. |
void |
FSM.setParent(FSM fsm)
Set the parent state machine. |
void |
FSMImpl.setParent(FSM fsm)
|
| Constructors in org.glassfish.pfl.basic.fsm with parameters of type FSM | |
|---|---|
Runner(FSM fsm)
Create a new Runner with fsm on top of the stack. |
|
Runner(FSM fsm,
boolean debug)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||