Package | Description |
---|---|
org.glassfish.pfl.basic.fsm |
Modifier and Type | Class and Description |
---|---|
static class |
Action.Base |
Modifier and Type | Method and Description |
---|---|
static Action |
Action.Base.compose(Action arg1,
Action arg2) |
Action |
Transition.getAction() |
Action |
State.getDefaultAction()
Get the default transition action that is used if the default next
state is used.
|
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 Action |
Action.Base.compose(Action arg1,
Action arg2) |
StateEngine |
StateEngine.setDefault(State oldState,
Action action,
State newState)
Set the default transition and action for a state.
|
void |
StateEngine.setDefaultAction(Action act)
Set the default action used in this state engine.
|
Copyright © 2017 Oracle. All rights reserved.