close()
COPYRIGHT
static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
close
void close()
- This method is for closing actions and releasing the processor and
context objects.
close
void close(boolean wasChained)
- This method is for actions that had their context's chained to the
processor's. It unchains the context and closes the action, releasing the
processor and context objects.
- Parameters:
wasChained - boolean
evaluateGuardCondition
boolean evaluateGuardCondition(GuardCondition gc)
- Evaluate the given guardCondition.
- Parameters:
gc - com.ibm.btt.automaton.GuardCondition
- Returns:
- boolean
execute
void execute()
throws java.lang.Exception
- This is invoked to do whatever this Action is supposed to do.
- Throws:
java.lang.Exception - The implementor of this class must decide when to throw an
exception occurred to the automaton.
getContext
Context getContext()
- Get the context of this Action
- Returns:
- com.ibm.btt.base.Context
getGuardConditions
Vector getGuardConditions()
- Return a Vector containing the GuardConditions for this Action
- Returns:
- com.ibm.btt.base.Vector
getName
java.lang.String getName()
- This method returns the name attribute inherited from ProcessorNotifier.
Note: this is NOT the name of the action.
- Specified by:
getName in interface ProcessorNotifier
- Returns:
- java.lang.String
getParms
java.util.Hashtable getParms()
- Returns a hashtable containing the parameters in this Action
- Returns:
- java.util.Hashtable
getProcessor
Processor getProcessor()
- Returns the Processor who owns this Action
- Returns:
- com.ibm.btt.automaton.Processor
getSourceEvent
BTTProcessorEventObject getSourceEvent()
- Returns the value of the sourceEvent property.
- Returns:
- com.ibm.btt.event.BTTProcessorEventObject
preProcess
void preProcess()
throws java.lang.Exception
- This is invoked just before the execute method.
- Throws:
java.lang.Exception - The implementor of this class must decide when to throw an
exception occurred to the automaton.
setContext
void setContext(Context aContext)
- Sets the context to the Action
- Parameters:
aContext - com.ibm.btt.base.Context
setGuardConditions
void setGuardConditions(Vector guardConditions)
- Associates the action with a Vector of GuardConditions.
- Parameters:
guardConditions - com.ibm.btt.base.Vector
setName
void setName(java.lang.String notifierName)
- This method sets the name attribute inherited from ProcessorNotifier.
Note: this is NOT the name of the action.
- Specified by:
setName in interface ProcessorNotifier
- Parameters:
notifierName - java.lang.String
setParms
void setParms(java.util.Hashtable parms)
- Associates the action with a hashtable of parameters
- Parameters:
assertions - java.util.Hashtable
setProcessor
void setProcessor(Processor aProcessor)
- Sets the processor who owns this Action
- Parameters:
aProcessor - com.ibm.btt.automaton.Processor
setSourceEvent
void setSourceEvent(BTTProcessorEventObject newSourceEvent)
- Sets the value of the sourceEvent property.
- Parameters:
newSourceEvent - com.ibm.btt.event.BTTProcessorEventObject
(c) Copyright IBM Corporation 1998, 2009
|