Class RuleGroupTemplate

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

public class RuleGroupTemplate extends AbstractReportingTemplate
Template that may be used to initialize a rule group.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

    • RuleGroupTemplate

      protected RuleGroupTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String name)
  • Method Details

    • getId

      protected com.aquima.interactions.foundation.GUID getId()
    • getName

      protected String getName()
    • addCondition

      public void addCondition(String condition)
      This method may be used to add a condition to the rule group.
      Parameters:
      condition - The condition that should be added.
    • getConditions

      protected String[] getConditions()
    • toDataSource

      public com.aquima.interactions.rule.ds.IRuleGroupDS toDataSource()
      This method converts the template to a data source that can be used to initialize a rule group.
      Returns:
      a data source that can be used to initialize a rule group.