Uses of Interface
org.glassfish.pfl.basic.fsm.FSM
Packages that use FSM
-
Uses of FSM in org.glassfish.pfl.basic.fsm
Classes in org.glassfish.pfl.basic.fsm that implement FSMModifier and TypeClassDescriptionclassThis 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 FSMModifier and TypeMethodDescriptionFSM.getParent()Get the parent state machine.FSMImpl.getParent()Runner.peek()Return the top fsm on the stack.Runner.pop()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 FSMModifier and TypeMethodDescriptionvoidCalled by the state engine to perform an action before a state transition takes place.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.Method that defines action that occurs whenever this state is entered from a different state.voidPush a new fsm onto the stack.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.voidSet the parent state machine.voidConstructors in org.glassfish.pfl.basic.fsm with parameters of type FSM