org.state4j.sm
Interface SmContext<T extends SmTarget>
- All Superinterfaces:
- java.lang.Cloneable
public interface SmContext<T extends SmTarget>
- extends java.lang.Cloneable
clone
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
entryInState
void entryInState(SmState state)
exitFromState
void exitFromState(SmState state)
getCurrentEvent
SmEvent getCurrentEvent()
setCurrentEvent
void setCurrentEvent(SmEvent event)
hasCurrentEvent
boolean hasCurrentEvent()
getCurrentState
SmState getCurrentState()
setCurrentState
void setCurrentState(SmState state)
hasCurrentState
boolean hasCurrentState()
getTarget
T getTarget()
setTarget
void setTarget(T target)
hasTarget
boolean hasTarget()
setAttribute
void setAttribute(java.lang.String key,
java.lang.String value)
getAttribute
java.lang.String getAttribute(java.lang.String key)
hasAttribute
boolean hasAttribute(java.lang.String key)
addAttributes
void addAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Copyright © 2006 . All Rights Reserved.