public class NoValueValidator<T> extends java.lang.Object implements IValueValidator<T>
| Constructor and Description |
|---|
NoValueValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(java.lang.String parameterName,
T parameterValue)
Validate the parameter.
|
public void validate(java.lang.String parameterName,
T parameterValue)
throws ParameterException
IValueValidatorvalidate in interface IValueValidator<T>parameterName - The name of the parameter (e.g. "-host").parameterValue - The value of the parameter that we need to validateParameterException - Thrown if the value of the parameter is invalid.