Interface Validator.ValidatorFunction<O>

  • Type Parameters:
    O - the object type to validate
    Enclosing class:
    Validator

    private static interface Validator.ValidatorFunction<O>
    A validation function, to point generically to the private validation functions defined by this class.
    Author:
    Holger Eichelberger, SSE
    • Method Detail

      • validate

        void validate​(O object,
                      java.lang.String msgContext)
        Validate the given object.
        Parameters:
        object - the object to validate
        msgContext - the context of the message/validate element for better location by the caller, ignored if empty or null