Class XmlDataRuleDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.rule.ds.xml.parsing.XmlRuleDS
com.aquima.interactions.rule.ds.xml.parsing.datarule.XmlDataRuleDS
- All Implemented Interfaces:
IReportingDS
,IDataRuleDS
,IRuleDS
Xml datasource implementation.
- Since:
- 8.3
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionXmlDataRuleDS
(IInitializationReport report, IXmlNode node, XmlRuleEngineDS ruleEngine) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of (resource) connection that is used by this data rule.getName()
This method returns the name of the data rule.This method returns the type name of this data rule.void
iterateConditions
(IConditionVisitor visitor) This method will be invoked by the data rule to request the information of all conditions (also known as criteria) that are defined for this data rule.void
This method should iterate all the justification texts that are available for this rule, and add them to the supplied visitor.void
iterateTargets
(ITargetVisitor visitor) This method will be invoked by the data rule to request the information of all targets (also known as goals) that are defined for this data rule.Methods inherited from class com.aquima.interactions.rule.ds.xml.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
-
Constructor Details
-
XmlDataRuleDS
-
-
Method Details
-
getName
Description copied from interface:IDataRuleDS
This method returns the name of the data rule.- Specified by:
getName
in interfaceIDataRuleDS
- Returns:
- the name of the data rule.
-
getConnectionName
Description copied from interface:IDataRuleDS
This method returns the name of (resource) connection that is used by this data rule.- Specified by:
getConnectionName
in interfaceIDataRuleDS
- Returns:
- the name of the (resource) connection, may not be null.
-
getTypeName
Description copied from interface:IDataRuleDS
This method returns the type name of this data rule. (for now only "csvDataRule" can be returned as type name)- Specified by:
getTypeName
in interfaceIDataRuleDS
- Returns:
- the type name of the data rule.
-
iterateConditions
Description copied from interface:IDataRuleDS
This method will be invoked by the data rule to request the information of all conditions (also known as criteria) that are defined for this data rule.- Specified by:
iterateConditions
in interfaceIDataRuleDS
- Parameters:
visitor
- The visitor that should be used to add the condition definitions to.- Throws:
InitializationException
- This exception is thrown when there is an error processing the conditions.
-
iterateTargets
Description copied from interface:IDataRuleDS
This method will be invoked by the data rule to request the information of all targets (also known as goals) that are defined for this data rule.- Specified by:
iterateTargets
in interfaceIDataRuleDS
- Parameters:
visitor
- The visitor that should be used to add the target definitions to.- Throws:
InitializationException
- This exception is thrown when there is an error processing the target.
-
iterateJustifications
Description copied from interface:IDataRuleDS
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 interfaceIDataRuleDS
- Parameters:
visitor
- The visitor to which the justifications of this rule should be added.- Throws:
InitializationException
- This exception is thrown when an invalid justification is added.
-