| Modifier and Type | Class and Description |
|---|---|
| public abstract static class |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| doIt | back to summary |
|---|---|
| public void doIt(FSM fsm, Input in) Called by the state engine to perform an action before a state transition takes place. The FSM is passed so that the Action may examine the state of the FSM. Note that an action should complete in a timely manner. If the state machine is used for concurrency control with multiple threads, the action must not allow multiple threads to run simultaneously in the state machine, as the state could be corrupted. Any exception thrown by the Action for the transition will be propagated to doIt. | |
| Modifier and Type | Method and Description |
|---|---|
| public static Action |
| Base | back to summary |
|---|---|
| public Base(String name) | |
| compose | back to summary |
|---|---|
| public static Action compose(final Action arg1, final Action arg2) | |