Interface IParameterValidator2

    • Method Detail

      • validate

        void validate​(java.lang.String name,
                      java.lang.String value,
                      ParameterDescription pd)
               throws ParameterException
        Validate the parameter.
        Parameters:
        name - The name of the parameter (e.g. "-host").
        value - The value of the parameter that we need to validate
        pd - The description of this parameter
        Throws:
        ParameterException - Thrown if the value of the parameter is invalid.