| |
|
| java.lang.Object org.apache.commons.scxml.Status
Status | public class Status implements Serializable(Code) | | The encapsulation of the current state of a state machine.
|
Constructor Summary | |
public | Status() Constructor. |
Method Summary | |
public Set | getAllStates() Get the complete states configuration. | public Collection | getEvents() Get the events that are currently queued. | public Set | getStates() Get the states configuration (leaf only). | public boolean | isFinal() Have we reached a final configuration for this state machine.
True - if all the states are final and there are not events
pending from the last step. |
Status | public Status()(Code) | | Constructor.
|
getAllStates | public Set getAllStates()(Code) | | Get the complete states configuration.
complete states configuration including simple states and theircomplex ancestors up to the root. |
getEvents | public Collection getEvents()(Code) | | Get the events that are currently queued.
The events that are currently queued. |
getStates | public Set getStates()(Code) | | Get the states configuration (leaf only).
Returns the states configuration - simple (leaf) states only. |
isFinal | public boolean isFinal()(Code) | | Have we reached a final configuration for this state machine.
True - if all the states are final and there are not events
pending from the last step. False - otherwise.
Whether a final configuration has been reached. |
|
|
|