Uses of Class
org.glassfish.pfl.basic.fsm.State
Packages that use State
-
Uses of State in org.glassfish.pfl.basic.fsm
Methods in org.glassfish.pfl.basic.fsm that return StateModifier and TypeMethodDescriptionState.getDefaultNextState()Return the default next state for this state.Transition.getNextState()FSM.getState()Get the current state of this FSM.FSMImpl.getState()Return the current 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.Methods in org.glassfish.pfl.basic.fsm that return types with arguments of type StateModifier and TypeMethodDescriptionStateEngine.getStates(State.Kind kind) Return the set of final states for this state engine.Methods in org.glassfish.pfl.basic.fsm with parameters of type StateModifier and TypeMethodDescriptionRepeatedly call add( State, Input, Action, State ) for each element of input.Repeatedly calls add( State, Input, Guard, Action, State ) for each element of input.Add a transition with a guard that always evaluates to true.Add a new transition (old,in,guard,act,new) to the state engine.StateEngine.setDefault(State oldState) Euaivalent to setDefault( oldState, oldState )StateEngine.setDefault(State oldState, Action action, State newState) Set the default transition and action for a state.StateEngine.setDefault(State oldState, State newState) Equivalent to setDefault( oldState, act, newState ) where act is an action that does nothing.voidSet the current state of this FSM.voidConstructors in org.glassfish.pfl.basic.fsm with parameters of type StateConstructor parameters in org.glassfish.pfl.basic.fsm with type arguments of type State