Method Summary |
|
protected void | _set(State s) |
public synchronized State | add(State s) Add a State to the machine. |
public void | addLink(String startTag, String nextTag) |
final public synchronized State | getState() |
public synchronized void | go() |
final public synchronized boolean | isDone() |
public synchronized void | reset(State s) like set, except allows a machine to jump states. |
final public synchronized void | reset(String k) |
public synchronized void | set(State s) Sets the State of the machine. |
final public synchronized void | set(String k) |
public synchronized boolean | step() Invoke a single step to see if we should transit out of the current state. |
public synchronized void | stepUntilDone() |
final protected synchronized void | transit(State s) |
final protected synchronized void | transit(String k) |
protected synchronized void | transit(State oldState, State newState) Transit from oldState to newState. |