org.squirrelframework.foundation.fsm
Interface ImmutableLinkedState<T extends StateMachine<T,S,E,C>,S,E,C>
- Type Parameters:
T - type of State MachineS - type of StateE - type of EventC - type of Context
- All Superinterfaces:
- ImmutableState<T,S,E,C>, SquirrelComponent, Visitable
public interface ImmutableLinkedState<T extends StateMachine<T,S,E,C>,S,E,C>
- extends ImmutableState<T,S,E,C>
A linked state specifies the insertion of the specification of a submachine state machine.
The state machine that contains the linked state is called the containing state machine.
The same state machine may be a submachine more than once in the context of a single containing
state machine.
A linked state is semantically equivalent to a composite state. The regions of the submachine
state machine are the regions of the composite state. The entry, exit, and behavior actions and
internal transitions are defined as part of the state. Submachine state is a decomposition
mechanism that allows factoring of common behaviors and their reuse.
- Author:
- Henry.He
| Methods inherited from interface org.squirrelframework.foundation.fsm.ImmutableState |
enterByHistory, enterDeep, enterShallow, entry, exit, getAcceptableEvents, getAllTransitions, getChildStates, getCompositeType, getEntryActions, getExitActions, getHistoryType, getInitialState, getLevel, getParentState, getPath, getStateId, getThis, getTransitions, hasChildStates, internalFire, isFinalState, isParallelState, isRegion, isRootState, verify |
| Methods inherited from interface org.squirrelframework.foundation.fsm.Visitable |
accept |
getLinkedStateMachine
StateMachine<? extends StateMachine<?,S,E,C>,S,E,C> getLinkedStateMachine(T stateMachine)
- Returns:
- linked state machine
Copyright © 2013-2014. All Rights Reserved.