IParameterValidator
public class NoValidator extends Object implements IParameterValidator
Constructor | Description |
---|---|
NoValidator() |
Modifier and Type | Method | Description |
---|---|---|
void |
validate(String parameterName,
String parameterValue) |
Validate the parameter.
|
public void validate(String parameterName, String parameterValue) throws ParameterException
IParameterValidator
validate
in interface IParameterValidator
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.