Class ExternalRuleTemplate

java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.rules.ExternalRuleTemplate

public class ExternalRuleTemplate extends AbstractReportingTemplate
Template class that can be used to create a data source for an external rule.
Since:
8.4.3
Author:
Jon van Leuven
  • Constructor Details

    • ExternalRuleTemplate

      public ExternalRuleTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String attributeName)
      Constructs the template with an attribute and an expression.
      Parameters:
      report - the report to add errors and warnings during initialization.
      attributeName - The attribute for which the rule is defined.
  • Method Details

    • setRuleName

      public void setRuleName(String ruleName)
    • toDataSource

      public com.aquima.interactions.rule.ds.IExternalRuleDS toDataSource()
      This method converts the template to a data source.
      Returns:
      Data source based on the template.
    • getAttributeName

      protected String getAttributeName()
    • getRuleName

      protected String getRuleName()