Interface IParameterValidator2

All Superinterfaces:
IParameterValidator

public interface IParameterValidator2 extends IParameterValidator
  • Method Details

    • validate

      void validate(String name, 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.