Class ClearAction

All Implemented Interfaces:
Cloneable

public class ClearAction extends Action
A ClearAction represents an action that may be executed when a test makes a T->F state transition.
  • Field Details

    • CNAME

      public static String 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 string
      mi - method invocation for this action
      Throws:
      IllegalArgumentException - if microagent name is null or empty string
      IllegalArgumentException - if method invocation is null
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this action.
      Overrides:
      toString in class Action
    • equals

      public boolean equals(Object obj)
      Compares two ClearActions for equality.
      Overrides:
      equals in class Action
    • clone

      public Object clone()
      Returns a copy of this object
      Specified by:
      clone in class RulebaseElement
    • toXML

      protected void toXML(COM.TIBCO.hawk.util.xml.XmlWriter out) throws IOException, RulebaseException
      Write XML representation of the action to the XML writer.
      Overrides:
      toXML in class Action
      Parameters:
      out - the XML writer where the output will be written.
      Throws:
      IOException
      RulebaseException
      See Also:
      • XmlWriter
    • fromXML

      protected void fromXML(COM.TIBCO.hawk.util.xml.XmlElementNode node) throws RulebaseException
      Read XML representation of the action from the XML node.
      Overrides:
      fromXML in class Action
      Parameters:
      node - the XML node containing the action.
      Throws:
      RulebaseException
      See Also:
      • XmlElementNode