|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for Action which is an action to do in a State.
Method Summary | |
---|---|
void |
close()
This method is for closing actions and releasing the processor and context objects. |
void |
close(boolean wasChained)
This method is for actions that had their context's chained to the processor's. |
boolean |
evaluateGuardCondition(GuardCondition gc)
Evaluate the given guardCondition. |
void |
execute()
This is invoked to do whatever this Action is supposed to do. |
Context |
getContext()
Get the context of this Action |
Vector |
getGuardConditions()
Return a Vector containing the GuardConditions for this Action |
java.lang.String |
getName()
This method returns the name attribute inherited from DSENotifier. |
java.util.Hashtable |
getParms()
Returns a hashtable containing the parameters in this Action |
Processor |
getProcessor()
Returns the Processor who owns this Action |
DSEEventObject |
getSourceEvent()
Returns the value of the sourceEvent property. |
void |
preProcess()
This is invoked just before the execute method. |
void |
setContext(Context aContext)
Sets the context to the Action |
void |
setGuardConditions(Vector guardConditions)
Associates the action with a Vector of GuardConditions. |
void |
setName(java.lang.String notifierName)
This method sets the name attribute inherited from DSENotifier. |
void |
setParms(java.util.Hashtable parms)
Associates the action with a hashtable of parameters |
void |
setProcessor(Processor aProcessor)
Sets the processor who owns this Action |
void |
setSourceEvent(DSEEventObject newSourceEvent)
Sets the value of the sourceEvent property. |
Methods inherited from interface com.ibm.dse.base.Notifier |
---|
addHandler, getHandlersList, removeHandler, signalEvent, signalEvent, terminate |
Method Detail |
public void close()
public void close(boolean wasChained)
wasChained
- booleanpublic boolean evaluateGuardCondition(GuardCondition gc)
gc
- com.ibm.dse.automaton.GuardCondition
public void execute() throws java.lang.Exception
java.lang.Exception
- The implementor of this class must decide when to throw
an exception occurred to the automaton.public Context getContext()
public Vector getGuardConditions()
public java.lang.String getName()
getName
in interface Notifier
public java.util.Hashtable getParms()
public Processor getProcessor()
public DSEEventObject getSourceEvent()
public void preProcess() throws java.lang.Exception
java.lang.Exception
- The implementor of this class must decide when to throw
an exception occurred to the automaton.public void setContext(Context aContext)
aContext
- com.ibm.dse.base.Contextpublic void setGuardConditions(Vector guardConditions)
guardConditions
- com.ibm.dse.base.Vectorpublic void setName(java.lang.String notifierName)
setName
in interface Notifier
notifierName
- java.lang.Stringpublic void setParms(java.util.Hashtable parms)
public void setProcessor(Processor aProcessor)
aProcessor
- com.ibm.dse.automaton.Processorpublic void setSourceEvent(DSEEventObject newSourceEvent)
newSourceEvent
- com.ibm.dse.base.DSEEventObject
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |