Class DelegatingValidator

    • Constructor Detail

      • DelegatingValidator

        public DelegatingValidator​(Closure<Boolean> closure)
    • Method Detail

      • validate

        public void validate​(Object message,
                             Object profile)
        Specified by:
        validate in interface Validator<Object,​Object>
        Parameters:
        message - message to be validated
        profile - profile to be validated against