| Package | Description |
|---|---|
| org.sfj |
| Modifier and Type | Method and Description |
|---|---|
SimpleFSM.State<E> |
SimpleFSM.fire(E event,
Object... args)
Fire an event.
|
SimpleFSM.State<E> |
SimpleFSM.getCurrentState()
Get the current state.
|
SimpleFSM.State<E> |
SimpleFSM.state(String name)
Define a new
SimpleFSM.State by name, or retrieve the state if it exists. |
SimpleFSM.State<EE> |
SimpleFSM.State.transition(EE event,
SimpleFSM.Transition<EE> thunk) |
SimpleFSM.State<EE> |
SimpleFSM.Transition.transition(SimpleFSM.State<EE> currentState,
EE event,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleFSM.begin(SimpleFSM.State<E> s)
Prime this FSM for processing; after this, no more transitions can be specified.
|
int |
SimpleFSM.State.compareTo(SimpleFSM.State<EE> o) |
SimpleFSM.State<EE> |
SimpleFSM.Transition.transition(SimpleFSM.State<EE> currentState,
EE event,
Object... args) |
Copyright © 2020. All rights reserved.