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
-
Method Summary
-
Constructor Details
-
NoValidator
public NoValidator()
-
-
Method Details
-
validate
Description copied from interface:IParameterValidator
Validate the parameter.- Specified by:
validate
in 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.
-