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 State
State.defaultNextState
private State
Transition.nextState
private State
FSMImpl.state
Fields in org.glassfish.pfl.basic.fsm with type parameters of type StateModifier and TypeFieldDescriptionprivate Map
<State.Kind, Set<State>> StateEngine.stateKinds
private Map
<State.Kind, Set<State>> StateEngine.unmodifiableStateKinds
Methods in org.glassfish.pfl.basic.fsm that return StateModifier and TypeMethodDescriptionState.getDefaultNextState()
Return the default next state for this state.private State
StateEngine.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 Action
StateEngine.getDefaultAction
(State currentState) private State
StateEngine.getDefaultNextState
(State currentState) (package private) void
StateEngine.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) void
State.setDefaultNextState
(State defaultNextState) void
Set the current state of this FSM.void
private void
StateEngine.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 State
Wrapper.S_BODY
private static final State
Wrapper.S_CLASS
private static final State
Wrapper.S_DEFAULT
private static final State
Wrapper.S_DONE
private static final State
Wrapper.S_ELSE
private static final State
Wrapper.S_FINAL
private static final State
Wrapper.S_IF
private static final State
Wrapper.S_INIT
private static final State
Wrapper.S_METHOD
private static final State
Wrapper.S_PACKAGE
private static final State
Wrapper.S_SWITCH
private static final State
Wrapper.S_TRY
Methods 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)