Interface RuleModelValidator
- All Known Implementing Classes:
RuleEngineRuleModelValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The rule model validator interface
-
Method Summary
Modifier and TypeMethodDescriptionvalidate(AbstractRuleEngineRuleModel rule, InterceptorContext context) Validates the rule engine rule model against the persistence context
-
Method Details
-
validate
Validates the rule engine rule model against the persistence context- Parameters:
rule- - the AbstractRuleEngineRuleModel entity to be validatedcontext- - the interceptor context to validate the content with- Returns:
- instance of AbstractValidationResult encapsulating the validation status and (optionally) the related additional information
-