Uses of Class
org.glassfish.pfl.basic.fsm.State
Packages that use State
-
Uses of State in org.glassfish.pfl.basic.fsm
Fields in org.glassfish.pfl.basic.fsm declared as StateModifier and TypeFieldDescriptionprivate StateState.defaultNextStateprivate StateTransition.nextStateprivate StateFSMImpl.stateFields in org.glassfish.pfl.basic.fsm with type parameters of type StateModifier and TypeFieldDescriptionprivate Map<State.Kind, Set<State>> StateEngine.stateKindsprivate Map<State.Kind, Set<State>> StateEngine.unmodifiableStateKindsMethods in org.glassfish.pfl.basic.fsm that return StateModifier and TypeMethodDescriptionState.getDefaultNextState()Return the default next state for this state.private StateStateEngine.getDefaultNextState(State currentState) 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.getKindSet(State.Kind kind) StateEngine.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.private ActionStateEngine.getDefaultAction(State currentState) private StateStateEngine.getDefaultNextState(State currentState) (package private) voidStateEngine.performStateTransition(Runner runner, Input in, State nextState, Action action, boolean debug) 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.(package private) voidState.setDefaultNextState(State defaultNextState) voidSet the current state of this FSM.voidprivate voidStateEngine.updateStateMap(State oldState, State newState) Constructors in org.glassfish.pfl.basic.fsm with parameters of type StateModifierConstructorDescriptionFSMImpl(StateEngine se, State initialState) (package private)Transition(Action action, State nextState) (package private)Transition(Guard guard, Action action, State nextState) Constructor parameters in org.glassfish.pfl.basic.fsm with type arguments of type State -
Uses of State in org.glassfish.pfl.dynamic.codegen.spi
Fields in org.glassfish.pfl.dynamic.codegen.spi declared as StateModifier and TypeFieldDescriptionprivate static final StateWrapper.S_BODYprivate static final StateWrapper.S_CLASSprivate static final StateWrapper.S_DEFAULTprivate static final StateWrapper.S_DONEprivate static final StateWrapper.S_ELSEprivate static final StateWrapper.S_FINALprivate static final StateWrapper.S_IFprivate static final StateWrapper.S_INITprivate static final StateWrapper.S_METHODprivate static final StateWrapper.S_PACKAGEprivate static final StateWrapper.S_SWITCHprivate static final StateWrapper.S_TRYMethods in org.glassfish.pfl.dynamic.codegen.spi with parameters of type StateConstructors in org.glassfish.pfl.dynamic.codegen.spi with parameters of type StateModifierConstructorDescription(package private)Context(Stack<Wrapper.Context> contexts, State start)