Class Attributes
java.lang.Object
COM.TIBCO.hawk.config.rbengine.RBEConfigObjectAttributes
COM.TIBCO.hawk.config.rbengine.rbmap.Attributes
- All Implemented Interfaces:
Cloneable
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 Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs an Attributes with default settings. -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a copy of this object.protected StringReturns true if the agent should use the external command to generate the rulebase list.protected StringDeprecated.protected voidreadAttributes(COM.TIBCO.hawk.util.xml.XmlElementNode node) protected voidSets the flag to indicate the agent should use external command to generate the rulebase list.protected voidsetCustomAndMap(String onOff) Sets the flag to indicate the agent should use the rulebase mapping after the using command mapping to generate the rulebase list.voidsetUseCommandMapping(boolean use, boolean exclusively) Sets the flag to indicate if the agent should use the command mapping to generate the rulebase list.protected voidsetUseCommandMapping(String name) Always true in > 4.0.5.protected voidsetUseCommandMappingOnly(boolean b) Sets the flag to indicate the agent should use only the command mapping when generating the rulebase list.booleanReturns true if the rulebase map should use the command mapping when generate the rulebase list.booleanReturns true if the agent should use only the command mapping when generating the rulebase list, ignoring the group and rulebase mapping.protected voidwriteAttributes(COM.TIBCO.hawk.util.xml.XmlWriter out) Methods inherited from class COM.TIBCO.hawk.config.rbengine.RBEConfigObjectAttributes
constructChangedStamp, copy, fromXML, getAuthor, getComment, getLastModification, getNodeValue, setAuthor, setComment, setLastModification, toXML
-
Field Details
-
custom
-
customAndMap
-
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
Always true in > 4.0.5. -
setCustom
Sets the flag to indicate the agent should use external command to generate the rulebase list. -
getCustom
Returns true if the agent should use the external command to generate the rulebase list. -
getCustomAndMap
Deprecated.Returns true if the agent should use the rulebase mapping after the using command mapping to generate the rulebase list. -
setCustomAndMap
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:
writeAttributesin classRBEConfigObjectAttributes- Throws:
IOExceptionRBEConfigObjectException
-
readAttributes
protected void readAttributes(COM.TIBCO.hawk.util.xml.XmlElementNode node) throws RBEConfigObjectException - Overrides:
readAttributesin classRBEConfigObjectAttributes- Throws:
RBEConfigObjectException
-
clone
Returns a copy of this object.- Overrides:
clonein classRBEConfigObjectAttributes- Returns:
- a copy of this object.
- Throws:
CloneNotSupportedException
-