Package kos.api

Interface Validation<T>

    • Method Detail

      • getTypeOfTheObjectBeingValidated

        Class<T> getTypeOfTheObjectBeingValidated()
        Returns a static representation of the object being validated.
      • validate

        io.vertx.core.Future<T> validate​(T object,
                                         Class<T> targetClass)
        Validates the object. It is expected that the validated object will be returned in the successful Future result.
        Parameters:
        object - the object to be validated
        targetClass -