org.state4j.sm
Interface SmState
- All Known Subinterfaces:
- SmCompositeState, SmSimpleState
public interface SmState
getName
java.lang.String getName()
setName
void setName(java.lang.String name)
hasName
boolean hasName()
getParent
SmCompositeState getParent()
setParent
void setParent(SmCompositeState name)
hasParent
boolean hasParent()
getSubtype
java.lang.String getSubtype()
setSubtype
void setSubtype(java.lang.String subtype)
hasSubtype
boolean hasSubtype()
getEntryAction
SmAction getEntryAction()
setEntryAction
void setEntryAction(SmAction action)
hasEntryAction
boolean hasEntryAction()
getExitAction
SmAction getExitAction()
setExitAction
void setExitAction(SmAction action)
hasExitAction
boolean hasExitAction()
exit
void exit(SmContext cntx)
entry
void entry(SmContext cntx)
isInitial
boolean isInitial()
isFinal
boolean isFinal()
getOutTransition
SmTransition getOutTransition(java.lang.String name)
getOutTransitions
java.util.Map getOutTransitions()
addOutTransition
void addOutTransition(SmTransition transition)
hasOutTransition
boolean hasOutTransition(java.lang.String name)
hasOutTransitions
boolean hasOutTransitions()
setOutTransitions
void setOutTransitions(java.util.Map<java.lang.String,SmTransition> transitions)
fire
void fire(SmContext cntx)
getFireableTransitions
java.util.List<SmTransition> getFireableTransitions(SmContext cntx,
boolean withTrigger)
isActive
boolean isActive(SmContext cntx)
closeDownState
SmState closeDownState()
containsState
boolean containsState(SmState state)
deepContainsState
boolean deepContainsState(SmState state)
init
void init()
exitUp
void exitUp(SmContext cntx,
SmCompositeState lca)
entryUp
void entryUp(SmContext cntx,
SmCompositeState lca)
Copyright © 2006 . All Rights Reserved.