Class ReportingExternalRuleDS

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

public class ReportingExternalRuleDS extends ReportingDS implements IExternalRuleDS
IExternalRuleDS 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: IExternalRuleDS
      This method returns the name of the external rule that should be used.
      Specified by:
      getName in interface IExternalRuleDS
      Returns:
      the name of the external rule that should be used.
    • getTargetAttributes

      public String[] 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 interface IExternalRuleDS
      Returns:
      an array containing the names of the attributes the rule operates on.
    • iterateJustifications

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