Package com.beust.jcommander
Interface IParameterValidator2
- All Superinterfaces:
IParameterValidator
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(String name, String value, ParameterDescription pd) Validate the parameter.Methods inherited from interface com.beust.jcommander.IParameterValidator
validate
-
Method Details
-
validate
Validate the parameter.- Parameters:
name
- The name of the parameter (e.g. "-host").value
- The value of the parameter that we need to validatepd
- The description of this parameter- Throws:
ParameterException
- Thrown if the value of the parameter is invalid.
-