Class ExternalRuleTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.rules.ExternalRuleTemplate
Template class that can be used to create a data source for an external rule.
- Since:
- 8.4.3
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionExternalRuleTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String attributeName) Constructs the template with an attribute and an expression. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
void
setRuleName
(String ruleName) com.aquima.interactions.rule.ds.IExternalRuleDS
This method converts the template to a data source.Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
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
-
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
-
getRuleName
-