Class Attributes

java.lang.Object
COM.TIBCO.hawk.config.rbengine.RBEConfigObjectAttributes
COM.TIBCO.hawk.config.rbengine.rbmap.Attributes
All Implemented Interfaces:
Cloneable

public class Attributes extends RBEConfigObjectAttributes
The Attributes provides methods for accessing attributes in a RBMap object. In addition to basic attributes of a rulebase configuration object, it include a flag to indicate whether the rulebase map should use command mapping when generating rulebases for an agent.
  • Field Details

    • custom

      protected String custom
    • customAndMap

      protected String customAndMap
    • useGroupCommand

      protected String useGroupCommand
  • Constructor Details

    • Attributes

      protected Attributes()
      Constructs an Attributes with default settings.
  • Method Details

    • usingCommandMappingOnly

      public boolean usingCommandMappingOnly()
      Returns true if the agent should use only the command mapping when generating the rulebase list, ignoring the group and rulebase mapping.

      Returns:
      true if the agent should use only the command mapping when generating the rulebase list.
      See Also:
    • usingCommandMapping

      public boolean usingCommandMapping()
      Returns true if the rulebase map should use the command mapping when generate the rulebase list.

      Returns:
      true if the rulebase map should use the command mapping when generate the rulebase list.
      See Also:
    • setUseCommandMapping

      public void setUseCommandMapping(boolean use, boolean exclusively)
      Sets the flag to indicate if the agent should use the command mapping to generate the rulebase list.

      Parameters:
      use - if true rulebase map will use command mapping when generates the list of rulebases for an agent. If false, command mapping is not used when generating the list.
      exclusively - if true rulebase map should only use command mapping when generates rulebase for an agent ignoring the group and rulebase mapping. exclusively is ignored if use is false.
      See Also:
    • setUseCommandMappingOnly

      protected void setUseCommandMappingOnly(boolean b)
      Sets the flag to indicate the agent should use only the command mapping when generating the rulebase list. The agent, group, abd rulebase mapping are ignored.
    • setUseCommandMapping

      protected void setUseCommandMapping(String name)
      Always true in > 4.0.5.
    • setCustom

      protected void setCustom(String onOff)
      Sets the flag to indicate the agent should use external command to generate the rulebase list.
    • getCustom

      protected String getCustom()
      Returns true if the agent should use the external command to generate the rulebase list.
    • getCustomAndMap

      protected String getCustomAndMap()
      Deprecated.
      Returns true if the agent should use the rulebase mapping after the using command mapping to generate the rulebase list.
    • setCustomAndMap

      protected void setCustomAndMap(String onOff)
      Sets the flag to indicate the agent should use the rulebase mapping after the using command mapping to generate the rulebase list.
    • writeAttributes

      protected void writeAttributes(COM.TIBCO.hawk.util.xml.XmlWriter out) throws IOException, RBEConfigObjectException
      Overrides:
      writeAttributes in class RBEConfigObjectAttributes
      Throws:
      IOException
      RBEConfigObjectException
    • readAttributes

      protected void readAttributes(COM.TIBCO.hawk.util.xml.XmlElementNode node) throws RBEConfigObjectException
      Overrides:
      readAttributes in class RBEConfigObjectAttributes
      Throws:
      RBEConfigObjectException
    • clone

      public Object clone() throws CloneNotSupportedException
      Returns a copy of this object.

      Overrides:
      clone in class RBEConfigObjectAttributes
      Returns:
      a copy of this object.
      Throws:
      CloneNotSupportedException