Package com.beust.jcommander.validators
Class NoValueValidator<T>
java.lang.Object
com.beust.jcommander.validators.NoValueValidator<T>
- All Implemented Interfaces:
IValueValidator<T>
This is the default value of the validateValueWith attribute.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NoValueValidator
public NoValueValidator()
-
-
Method Details
-
validate
Description copied from interface:IValueValidator
Validate the parameter.- Specified by:
validate
in interfaceIValueValidator<T>
- 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.
-