Package com.aquima.interactions.rule.ds
Interface IExternalRuleDS
- All Superinterfaces:
IReportingDS
,IRuleDS
- All Known Implementing Classes:
DefaultExternalRuleDS
,ReportingExternalRuleDS
,XmlExternalRuleDS
,XmlExternalRuleDS
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 TypeMethodDescriptiongetName()
This method returns the name of the external rule that should be used.String[]
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
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.
-