Interface IExternalRuleDS

All Superinterfaces:
IReportingDS, IRuleDS
All Known Implementing Classes:
DefaultExternalRuleDS, ReportingExternalRuleDS, XmlExternalRuleDS, XmlExternalRuleDS

public interface IExternalRuleDS extends IRuleDS
This interface is used during initialization to provide the information about an external rule that may be loaded through the rule factory.
Since:
7.0
Author:
O. Kerpershoek
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns the name of the external rule that should be used.
    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.

    Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS

    addMessage

    Methods inherited from interface com.aquima.interactions.rule.ds.IRuleDS

    getRuleGroupNames
  • Method Details

    • getName

      String getName()
      This method returns the name of the external rule that should be used.
      Returns:
      the name of the external rule that should be used.
    • getTargetAttributes

      String[] getTargetAttributes()
      This method returns an array containing the names of the attributes the rule operates on.
      Returns:
      an array containing the names of the attributes the rule operates on.
    • iterateJustifications

      void iterateJustifications(IJustificationVisitor visitor)
      This method should iterate all the justification texts that are available for this rule, and add them to the supplied visitor.
      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.