| Modifier and Type | Class and Description |
|---|---|
class |
AbstractState
State of a machine.
|
| Modifier and Type | Field and Description |
|---|---|
static State |
State.INVALID
A virtual State for invalid state.
|
static State |
State.UNKNOWN
Default state that every newly created machine has.
|
| Modifier and Type | Method and Description |
|---|---|
State |
Transition.getSource()
Returns the source state.
|
State |
Machine.getState()
Returns current state.
|
State |
Transition.getTarget()
Returns the target state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Machine.setState(State state)
Sets state.
|
| Constructor and Description |
|---|
Transition(Machine machine,
State source,
State target)
Creates a new instance.
|
Copyright © 2011. All Rights Reserved.