org.state4j.sm
Interface SmContext<T extends SmTarget>

All Superinterfaces:
java.lang.Cloneable

public interface SmContext<T extends SmTarget>
extends java.lang.Cloneable


Method Summary
 void addAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
           
 java.lang.Object clone()
           
 void entryInState(SmState state)
           
 void exitFromState(SmState state)
           
 java.lang.String getAttribute(java.lang.String key)
           
 SmEvent getCurrentEvent()
           
 SmState getCurrentState()
           
 T getTarget()
           
 boolean hasAttribute(java.lang.String key)
           
 boolean hasCurrentEvent()
           
 boolean hasCurrentState()
           
 boolean hasTarget()
           
 void setAttribute(java.lang.String key, java.lang.String value)
           
 void setCurrentEvent(SmEvent event)
           
 void setCurrentState(SmState state)
           
 void setTarget(T target)
           
 

Method Detail

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.