|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ATTR(value={"id#String#REQUIRED","context#String#IMPLIED","implClass#String#IMPLIED"}) public interface Action
Interface for Action which is an action to do in a State.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
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 ProcessorNotifier. |
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 ProcessorNotifier. |
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.btt.base.Notifier |
---|
addHandler, getHandlersList, removeHandler, signalEvent, signalEvent, terminate |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
void close()
void close(boolean wasChained)
wasChained
- booleanboolean evaluateGuardCondition(GuardCondition gc)
gc
- com.ibm.btt.automaton.GuardCondition
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.Context getContext()
Vector getGuardConditions()
java.lang.String getName()
getName
in interface Notifier
java.util.Hashtable getParms()
Processor getProcessor()
DSEEventObject getSourceEvent()
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.void setContext(Context aContext)
aContext
- com.ibm.btt.base.Contextvoid setGuardConditions(Vector guardConditions)
guardConditions
- com.ibm.btt.base.Vectorvoid setName(java.lang.String notifierName)
setName
in interface Notifier
notifierName
- java.lang.Stringvoid setParms(java.util.Hashtable parms)
assertions
- java.util.Hashtablevoid setProcessor(Processor aProcessor)
aProcessor
- com.ibm.btt.automaton.Processorvoid setSourceEvent(DSEEventObject newSourceEvent)
newSourceEvent
- com.ibm.btt.event.BTTProcessorEventObject
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |