Class ReportingDataRuleDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.rule.report.ReportingDataRuleDS
- All Implemented Interfaces:
IReportingDS
,IDataRuleDS
,IRuleDS
IDataRuleDS wrapper that adds error reporting.
- Since:
- 9.1
- Author:
- r.fleuren
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ReportingDataRuleDS
(IInitializationReport report, IDataRuleDS datasource) -
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.String[]
This method returns an array containing the names of the rule groups the rule belongs to.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.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
-
Constructor Details
-
Method Details
-
getRuleGroupNames
Description copied from interface:IRuleDS
This method returns an array containing the names of the rule groups the rule belongs to. If the rule does not belong to a specific rule group, the returned value may either be null or an empty array. Rules that belong to a rule group will only be evaluated when one (or more) of the rule groups are active. Rule groups are sometimes referred to as rule clusters.- Specified by:
getRuleGroupNames
in interfaceIRuleDS
- Returns:
- an array containing the names of the rule groups the rule belongs to.
-
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.
-
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.
-
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.
-