org.squirrelframework.foundation.fsm
Interface MutableState<T extends StateMachine<T,S,E,C>,S,E,C>

All Superinterfaces:
ImmutableState<T,S,E,C>, SquirrelComponent, Visitable
All Known Subinterfaces:
MutableLinkedState<T,S,E,C>, MutableTimedState<T,S,E,C>, UntypedMutableState
All Known Implementing Classes:
TimedStateImpl

public interface MutableState<T extends StateMachine<T,S,E,C>,S,E,C>
extends ImmutableState<T,S,E,C>


Method Summary
 void addChildState(MutableState<T,S,E,C> childState)
           
 void addEntryAction(Action<T,S,E,C> newAction)
           
 void addEntryActions(List<Action<T,S,E,C>> newActions)
           
 void addExitAction(Action<T,S,E,C> newAction)
           
 void addExitActions(List<Action<T,S,E,C>> newActions)
           
 MutableTransition<T,S,E,C> addTransitionOn(E event)
           
 void prioritizeTransitions()
           
 void setCompositeType(StateCompositeType compositeType)
           
 void setFinal(boolean isFinal)
           
 void setHistoryType(HistoryType historyType)
           
 void setInitialState(MutableState<T,S,E,C> childInitialState)
           
 void setLevel(int level)
           
 void setParentState(MutableState<T,S,E,C> parent)
           
 
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
 

Method Detail

addTransitionOn

MutableTransition<T,S,E,C> addTransitionOn(E event)

addEntryAction

void addEntryAction(Action<T,S,E,C> newAction)

addEntryActions

void addEntryActions(List<Action<T,S,E,C>> newActions)

addExitAction

void addExitAction(Action<T,S,E,C> newAction)

addExitActions

void addExitActions(List<Action<T,S,E,C>> newActions)

setParentState

void setParentState(MutableState<T,S,E,C> parent)

addChildState

void addChildState(MutableState<T,S,E,C> childState)

setInitialState

void setInitialState(MutableState<T,S,E,C> childInitialState)

setLevel

void setLevel(int level)

setHistoryType

void setHistoryType(HistoryType historyType)

setFinal

void setFinal(boolean isFinal)

setCompositeType

void setCompositeType(StateCompositeType compositeType)

prioritizeTransitions

void prioritizeTransitions()


Copyright © 2013-2014. All Rights Reserved.