|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use State | |
|---|---|
| org.glassfish.pfl.basic.fsm | |
| Uses of State in org.glassfish.pfl.basic.fsm |
|---|
| Methods in org.glassfish.pfl.basic.fsm that return State | |
|---|---|
State |
State.getDefaultNextState()
Return the default next state for this state. |
State |
Transition.getNextState()
|
State |
FSM.getState()
Get the current state of this FSM. |
State |
FSMImpl.getState()
Return the current state. |
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 State | |
|---|---|
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 | |
|---|---|
StateEngine |
StateEngine.add(State oldState,
Input input,
Action action,
State newState)
Add a transition with a guard that always evaluates to true. |
StateEngine |
StateEngine.add(State oldState,
Input input,
Guard guard,
Action action,
State newState)
Add a new transition (old,in,guard,act,new) to the state engine. |
StateEngine |
StateEngine.add(State oldState,
Set<Input> input,
Action action,
State newState)
Repeatedly call add( State, Input, Action, State ) for each element of input. |
StateEngine |
StateEngine.add(State oldState,
Set<Input> input,
Guard guard,
Action action,
State newState)
Repeatedly calls add( State, Input, Guard, Action, State ) for each element of input. |
StateEngine |
StateEngine.setDefault(State oldState)
Euaivalent to setDefault( oldState, oldState ) |
StateEngine |
StateEngine.setDefault(State oldState,
Action action,
State newState)
Set the default transition and action for a state. |
StateEngine |
StateEngine.setDefault(State oldState,
State newState)
Equivalent to setDefault( oldState, act, newState ) where act is an action that does nothing. |
void |
FSM.setState(State state)
Set the current state of this FSM. |
void |
FSMImpl.setState(State nextState)
|
| Constructors in org.glassfish.pfl.basic.fsm with parameters of type State | |
|---|---|
FSMImpl(StateEngine se,
State initialState)
|
|
| Constructor parameters in org.glassfish.pfl.basic.fsm with type arguments of type State | |
|---|---|
State(Set<State> states,
String name)
|
|
State(Set<State> states,
String name,
State.Kind kind)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||