Interface Validator<T>

    • Method Detail

      • validate

        void validate​(T value,
                      String field,
                      Context context)
        Validate the given value
        value - The value, may be null
        field - The name of the field being validated, if applicable
        context - The Ninja request context
      • getValidatedType

        Class<T> getValidatedType()
        Get the type that this validator validates
        The type that the validator validates