Class BasicBundleRuleValidator<A extends java.lang.annotation.Annotation>

    • Constructor Detail

      • BasicBundleRuleValidator

        public BasicBundleRuleValidator()
    • Method Detail

      • initialize

        public void initialize​(A a)
        Specified by:
        initialize in interface javax.validation.ConstraintValidator<A extends java.lang.annotation.Annotation,​AbstractBundleRuleModel>
      • getBundleTemplate

        protected BundleTemplateModel getBundleTemplate​(@Nonnull
                                                        AbstractBundleRuleModel rule)
        Gets parent bundle template of given rule.

        If there is an error, writes details to log and returns null.

        Parameters:
        rule - rule
        Returns:
        parent template