Package | Description |
---|---|
org.glassfish.pfl.basic.fsm |
Modifier and Type | Method and Description |
---|---|
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.
|
static StateEngine |
StateEngine.create()
Create an empty uninitialized state engine.
|
StateEngine |
FSMImpl.getStateEngine() |
StateEngine |
FSM.getStateEngine()
Return the state engine used to create this FSM.
|
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.
|
Constructor and Description |
---|
FSMImpl(StateEngine se,
State initialState) |
Copyright © 2017 Oracle. All rights reserved.