Uses of Interface
org.glassfish.pfl.basic.fsm.FSM
-
Packages that use FSM Package Description org.glassfish.pfl.basic.fsm -
-
Uses of FSM in org.glassfish.pfl.basic.fsm
Classes in org.glassfish.pfl.basic.fsm that implement FSM Modifier and Type Class Description classFSMImplThis is the main class that represents an instance of a state machine using a state engine.Fields in org.glassfish.pfl.basic.fsm declared as FSM Modifier and Type Field Description private FSMRunner. currentprivate FSMFSMImpl. parentMethods in org.glassfish.pfl.basic.fsm that return FSM Modifier and Type Method Description FSMFSM. getParent()Get the parent state machine.FSMFSMImpl. getParent()FSMRunner. peek()Return the top fsm on the stack.FSMRunner. pop()FSMState. 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 Modifier and Type Method Description voidAction. doIt(FSM fsm, Input in)Called by the state engine to perform an action before a state transition takes place.Guard.ResultGuard. evaluate(FSM fsm, Input in)Called by the state engine to determine whether a transition is enabled, deferred, or disabled.voidState. 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.FSMState. preAction(FSM fsm)Method that defines action that occurs whenever this state is entered from a different state.voidRunner. push(FSM fsm)Push a new fsm onto the stack.StateState. 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.voidFSM. setParent(FSM fsm)Set the parent state machine.voidFSMImpl. setParent(FSM fsm)Constructors in org.glassfish.pfl.basic.fsm with parameters of type FSM Constructor Description Runner(FSM fsm)Create a new Runner with fsm on top of the stack.Runner(FSM fsm, boolean debug)
-