S - the type of stateE - the type of eventpublic abstract class AbstractSimpleState<S,E> extends AbstractState<S,E>
State having a single state identifier.| Constructor and Description |
|---|
AbstractSimpleState(S id)
Instantiates a new abstract simple state.
|
AbstractSimpleState(S id,
java.util.Collection<E> deferred)
Instantiates a new abstract simple state.
|
AbstractSimpleState(S id,
java.util.Collection<E> deferred,
java.util.Collection<? extends Action<S,E>> entryActions,
java.util.Collection<? extends Action<S,E>> exitActions)
Instantiates a new abstract simple state.
|
AbstractSimpleState(S id,
java.util.Collection<E> deferred,
java.util.Collection<? extends Action<S,E>> entryActions,
java.util.Collection<? extends Action<S,E>> exitActions,
PseudoState<S,E> pseudoState)
Instantiates a new abstract simple state.
|
AbstractSimpleState(S id,
java.util.Collection<E> deferred,
java.util.Collection<? extends Action<S,E>> entryActions,
java.util.Collection<? extends Action<S,E>> exitActions,
PseudoState<S,E> pseudoState,
java.util.Collection<Region<S,E>> regions)
Instantiates a new abstract simple state.
|
AbstractSimpleState(S id,
java.util.Collection<E> deferred,
java.util.Collection<? extends Action<S,E>> entryActions,
java.util.Collection<? extends Action<S,E>> exitActions,
PseudoState<S,E> pseudoState,
StateMachine<S,E> submachine)
Instantiates a new abstract simple state.
|
AbstractSimpleState(S id,
PseudoState<S,E> pseudoState)
Instantiates a new abstract simple state.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<S> |
getIds()
Gets the state identifiers.
|
java.util.Collection<State<S,E>> |
getStates()
Gets all possible states this state knows about including itself
and substates.
|
entry, exit, getDeferredEvents, getEntryActions, getExitActions, getId, getPseudoState, getRegions, getSubmachine, isComposite, isOrthogonal, isSimple, isSubmachineState, sendEvent, toStringpublic AbstractSimpleState(S id)
id - the state identifierpublic AbstractSimpleState(S id, java.util.Collection<E> deferred, java.util.Collection<? extends Action<S,E>> entryActions, java.util.Collection<? extends Action<S,E>> exitActions)
id - the state identifierdeferred - the deferredentryActions - the entry actionsexitActions - the exit actionspublic AbstractSimpleState(S id, java.util.Collection<E> deferred)
id - the state identifierdeferred - the deferredpublic AbstractSimpleState(S id, PseudoState<S,E> pseudoState)
id - the state identifierpseudoState - the pseudo statepublic AbstractSimpleState(S id, java.util.Collection<E> deferred, java.util.Collection<? extends Action<S,E>> entryActions, java.util.Collection<? extends Action<S,E>> exitActions, PseudoState<S,E> pseudoState, java.util.Collection<Region<S,E>> regions)
id - the state identifierdeferred - the deferredentryActions - the entry actionsexitActions - the exit actionspseudoState - the pseudo stateregions - the regionspublic AbstractSimpleState(S id, java.util.Collection<E> deferred, java.util.Collection<? extends Action<S,E>> entryActions, java.util.Collection<? extends Action<S,E>> exitActions, PseudoState<S,E> pseudoState, StateMachine<S,E> submachine)
id - the state identifierdeferred - the deferredentryActions - the entry actionsexitActions - the exit actionspseudoState - the pseudo statesubmachine - the submachinepublic AbstractSimpleState(S id, java.util.Collection<E> deferred, java.util.Collection<? extends Action<S,E>> entryActions, java.util.Collection<? extends Action<S,E>> exitActions, PseudoState<S,E> pseudoState)
id - the state identifierdeferred - the deferredentryActions - the entry actionsexitActions - the exit actionspseudoState - the pseudo statepublic java.util.Collection<S> getIds()
State