Class ClearAction
java.lang.Object
COM.TIBCO.hawk.config.rbengine.rulebase.RulebaseElement
COM.TIBCO.hawk.config.rbengine.rulebase.Action
COM.TIBCO.hawk.config.rbengine.rulebase.ClearAction
- All Implemented Interfaces:
Cloneable
A ClearAction represents an action that may be executed
when a test makes a T->F state transition.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClearAction(String microAgentName, COM.TIBCO.hawk.talon.MethodInvocation mi) Constructs a ClearAction -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a copy of this objectbooleanCompares two ClearActions for equality.protected voidfromXML(COM.TIBCO.hawk.util.xml.XmlElementNode node) Read XML representation of the action from the XML node.toString()Returns a string representation of this action.protected voidtoXML(COM.TIBCO.hawk.util.xml.XmlWriter out) Write XML representation of the action to the XML writer.Methods inherited from class COM.TIBCO.hawk.config.rbengine.rulebase.Action
getMethodInvocation, getMicroAgentName, getProperties, setMethodInvocation, setMicroAgentName, setPropertiesMethods inherited from class COM.TIBCO.hawk.config.rbengine.rulebase.RulebaseElement
fromXML, fromXML, getName, getSchedule, loadFromFile, saveToFile, setName, setSchedule, toXML, toXML
-
Field Details
-
CNAME
-
-
Constructor Details
-
ClearAction
public ClearAction(String microAgentName, COM.TIBCO.hawk.talon.MethodInvocation mi) throws IllegalArgumentException Constructs a ClearAction- Parameters:
microAgentName- microagent name for this action, must not be null or empty stringmi- method invocation for this action- Throws:
IllegalArgumentException- if microagent name is null or empty stringIllegalArgumentException- if method invocation is null
-
-
Method Details
-
toString
Returns a string representation of this action. -
equals
Compares two ClearActions for equality. -
clone
Returns a copy of this object- Specified by:
clonein classRulebaseElement
-
toXML
Write XML representation of the action to the XML writer.- Overrides:
toXMLin classAction- Parameters:
out- the XML writer where the output will be written.- Throws:
IOExceptionRulebaseException- See Also:
-
XmlWriter
-
fromXML
Read XML representation of the action from the XML node.- Overrides:
fromXMLin classAction- Parameters:
node- the XML node containing the action.- Throws:
RulebaseException- See Also:
-
XmlElementNode
-