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 RuleModelValidator
    The rule model validator interface
    • 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 validated
        context - - the interceptor context to validate the content with
        Returns:
        instance of AbstractValidationResult encapsulating the validation status and (optionally) the related additional information