Class ReportingDataRuleDS

java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.rule.report.ReportingDataRuleDS
All Implemented Interfaces:
IReportingDS, IDataRuleDS, IRuleDS

public class ReportingDataRuleDS extends ReportingDS implements IDataRuleDS
IDataRuleDS wrapper that adds error reporting.
Since:
9.1
Author:
r.fleuren
  • Constructor Details

  • Method Details

    • getRuleGroupNames

      public String[] 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 interface IRuleDS
      Returns:
      an array containing the names of the rule groups the rule belongs to.
    • getName

      public String getName()
      Description copied from interface: IDataRuleDS
      This method returns the name of the data rule.
      Specified by:
      getName in interface IDataRuleDS
      Returns:
      the name of the data rule.
    • getConnectionName

      public String 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 interface IDataRuleDS
      Returns:
      the name of the (resource) connection, may not be null.
    • getTypeName

      public String 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 interface IDataRuleDS
      Returns:
      the type name of the data rule.
    • iterateConditions

      public void iterateConditions(IConditionVisitor visitor)
      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 interface IDataRuleDS
      Parameters:
      visitor - The visitor that should be used to add the condition definitions to.
    • iterateTargets

      public void iterateTargets(ITargetVisitor visitor)
      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 interface IDataRuleDS
      Parameters:
      visitor - The visitor that should be used to add the target definitions to.
    • iterateJustifications

      public void iterateJustifications(IJustificationVisitor visitor)
      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 interface IDataRuleDS
      Parameters:
      visitor - The visitor to which the justifications of this rule should be added.