Uses of Class
org.glassfish.pfl.basic.fsm.State
-
Packages that use State Package Description org.glassfish.pfl.basic.fsm org.glassfish.pfl.dynamic.codegen.spi -
-
Uses of State in org.glassfish.pfl.basic.fsm
Fields in org.glassfish.pfl.basic.fsm declared as State Modifier and Type Field Description private StateState. defaultNextStateprivate StateTransition. nextStateprivate StateFSMImpl. stateFields in org.glassfish.pfl.basic.fsm with type parameters of type State Modifier and Type Field Description private java.util.Map<State.Kind,java.util.Set<State>>StateEngine. stateKindsprivate java.util.Map<State.Kind,java.util.Set<State>>StateEngine. unmodifiableStateKindsMethods in org.glassfish.pfl.basic.fsm that return State Modifier and Type Method Description StateState. getDefaultNextState()Return the default next state for this state.private StateStateEngine. getDefaultNextState(State currentState)StateTransition. getNextState()StateFSM. getState()Get the current state of this FSM.StateFSMImpl. getState()Return the current state.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.Methods in org.glassfish.pfl.basic.fsm that return types with arguments of type State Modifier and Type Method Description private java.util.Set<State>StateEngine. getKindSet(State.Kind kind)java.util.Set<State>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 State Modifier and Type Method Description StateEngineStateEngine. add(State oldState, java.util.Set<Input> input, Action action, State newState)Repeatedly call add( State, Input, Action, State ) for each element of input.StateEngineStateEngine. add(State oldState, java.util.Set<Input> input, Guard guard, Action action, State newState)Repeatedly calls add( State, Input, Guard, Action, State ) for each element of input.StateEngineStateEngine. add(State oldState, Input input, Action action, State newState)Add a transition with a guard that always evaluates to true.StateEngineStateEngine. add(State oldState, Input input, Guard guard, Action action, State newState)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)StateEngineStateEngine. setDefault(State oldState)Euaivalent to setDefault( oldState, oldState )StateEngineStateEngine. setDefault(State oldState, Action action, State newState)Set the default transition and action for a state.StateEngineStateEngine. 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)voidFSM. setState(State state)Set the current state of this FSM.voidFSMImpl. setState(State nextState)private voidStateEngine. updateStateMap(State oldState, State newState)Constructors in org.glassfish.pfl.basic.fsm with parameters of type State Constructor Description FSMImpl(StateEngine se, State initialState)Transition(Action action, State nextState)Transition(Guard guard, Action action, State nextState)Constructor parameters in org.glassfish.pfl.basic.fsm with type arguments of type State Constructor Description State(java.util.Set<State> states, java.lang.String name)State(java.util.Set<State> states, java.lang.String name, State.Kind kind) -
Uses of State in org.glassfish.pfl.dynamic.codegen.spi
Fields in org.glassfish.pfl.dynamic.codegen.spi declared as State Modifier and Type Field Description private static StateWrapper. S_BODYprivate static StateWrapper. S_CLASSprivate static StateWrapper. S_DEFAULTprivate static StateWrapper. S_DONEprivate static StateWrapper. S_ELSEprivate static StateWrapper. S_FINALprivate static StateWrapper. S_IFprivate static StateWrapper. S_INITprivate static StateWrapper. S_METHODprivate static StateWrapper. S_PACKAGEprivate static StateWrapper. S_SWITCHprivate static StateWrapper. S_TRYMethods in org.glassfish.pfl.dynamic.codegen.spi with parameters of type State Modifier and Type Method Description private static voidWrapper. addCommonTransitions(State state)Constructors in org.glassfish.pfl.dynamic.codegen.spi with parameters of type State Constructor Description Context(java.util.Stack<Wrapper.Context> contexts, State start)
-