Package com.beust.jcommander.validators
Class NoValidator
java.lang.Object
com.beust.jcommander.validators.NoValidator
- All Implemented Interfaces:
IParameterValidator
This is the default value of the validateWith attribute.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoValidator
public NoValidator()
-
-
Method Details
-
validate
Description copied from interface:IParameterValidatorValidate the parameter.- Specified by:
validatein interfaceIParameterValidator- Parameters:
parameterName- The name of the parameter (e.g. "-host").parameterValue- The value of the parameter that we need to validate- Throws:
ParameterException- Thrown if the value of the parameter is invalid.
-