Class ReportingValidationVisitor
java.lang.Object
com.aquima.interactions.foundation.report.ReportingVisitorDS
com.aquima.interactions.rule.report.ReportingValidationVisitor
- All Implemented Interfaces:
IRuleVisitor
,IValidationVisitor
IValidationVisitor implementation that adds error reporting.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ReportingValidationVisitor
(IInitializationReport report, IValidationVisitor visitor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addValidation
(IValidationDS datasource) This method may be used to add a validation rule by providing a data source that can be used to initialize a standard validation.void
addValidation
(IValidationRule rule) This method may be used to add a custom validation rule to the rule engine.This method returns the meta model of the rule engine.This method returns the expression parser of the rule engine which may be used to parse expressions and dynamic texts.Methods inherited from class com.aquima.interactions.foundation.report.ReportingVisitorDS
addError, addMessage, beginScope, endScope, getCategory, getReport
-
Constructor Details
-
ReportingValidationVisitor
-
-
Method Details
-
addValidation
Description copied from interface:IValidationVisitor
This method may be used to add a validation rule by providing a data source that can be used to initialize a standard validation.- Specified by:
addValidation
in interfaceIValidationVisitor
- Parameters:
datasource
- Data source capable of providing the data needed to initialize a validation rule.
-
addValidation
Description copied from interface:IValidationVisitor
This method may be used to add a custom validation rule to the rule engine.- Specified by:
addValidation
in interfaceIValidationVisitor
- Parameters:
rule
- Custom implementation of the validation rule interface.
-
getMetaModel
Description copied from interface:IRuleVisitor
This method returns the meta model of the rule engine.- Specified by:
getMetaModel
in interfaceIRuleVisitor
- Returns:
- the meta model of the rule engine.
-
getParser
Description copied from interface:IRuleVisitor
This method returns the expression parser of the rule engine which may be used to parse expressions and dynamic texts.- Specified by:
getParser
in interfaceIRuleVisitor
- Returns:
- the expression parser of the rule engine.
-