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.
@FunctionalInterface public interface RuleModelValidatorThe rule model validator interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractValidationResultvalidate(AbstractRuleEngineRuleModel rule, InterceptorContext context)Validates the rule engine rule model against the persistence context
-
-
-
Method Detail
-
validate
AbstractValidationResult validate(AbstractRuleEngineRuleModel rule, InterceptorContext context)
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
-
-