Class XmlExternalRuleDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.rule.ds.xml.r12.parsing.XmlRuleDS
com.aquima.interactions.rule.ds.xml.r12.parsing.XmlExternalRuleDS
- All Implemented Interfaces:
IReportingDS
,IExternalRuleDS
,IRuleDS
Xml datasource implementation.
- Since:
- 7.3
- Author:
- Danny Roest
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
This method returns the name of the external rule that should be used.String[]
This method returns an array containing the names of the attributes the rule operates on.void
This method should iterate all the justification texts that are available for this rule, and add them to the supplied visitor.protected static XmlExternalRuleDS
parseExternalConstraint
(IInitializationReport report, IXmlNode node, XmlRuleEngineDS ruleEngine) protected static XmlExternalRuleDS
parseExternalRule
(IInitializationReport report, IXmlNode node, XmlRuleEngineDS ruleEngine) Methods inherited from class com.aquima.interactions.rule.ds.xml.r12.parsing.XmlRuleDS
getRuleGroupNames
Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
Methods inherited from interface com.aquima.interactions.rule.ds.IRuleDS
getRuleGroupNames
-
Method Details
-
parseExternalConstraint
protected static XmlExternalRuleDS parseExternalConstraint(IInitializationReport report, IXmlNode node, XmlRuleEngineDS ruleEngine) -
parseExternalRule
protected static XmlExternalRuleDS parseExternalRule(IInitializationReport report, IXmlNode node, XmlRuleEngineDS ruleEngine) -
getName
Description copied from interface:IExternalRuleDS
This method returns the name of the external rule that should be used.- Specified by:
getName
in interfaceIExternalRuleDS
- Returns:
- the name of the external rule that should be used.
-
getTargetAttributes
Description copied from interface:IExternalRuleDS
This method returns an array containing the names of the attributes the rule operates on.- Specified by:
getTargetAttributes
in interfaceIExternalRuleDS
- Returns:
- an array containing the names of the attributes the rule operates on.
-
iterateJustifications
Description copied from interface:IExternalRuleDS
This method should iterate all the justification texts that are available for this rule, and add them to the supplied visitor.- Specified by:
iterateJustifications
in interfaceIExternalRuleDS
- Parameters:
visitor
- The visitor to which the justifications of this rule should be added.
-