Class DefaultValidation

    • Field Detail

      • fallbackValidation

        private Validation fallbackValidation
        The fallback Validation implementation. It will be called whenever no other validation is available for a given type.
    • Constructor Detail

      • DefaultValidation

        public DefaultValidation()
    • Method Detail

      • memorise

        public void memorise​(Validation validation)
      • validate

        public io.vertx.core.Future validate​(Object object,
                                             Class targetClass)
        Description copied from interface: Validation
        Validates the object. It is expected that the validated object will be returned in the successful Future result.
        Specified by:
        validate in interface Validation
        Parameters:
        object - the object to be validated
      • populateWithClassAndItsInterfaces

        private void populateWithClassAndItsInterfaces​(Queue<Class> stack,
                                                       Class klass)