|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beust.jcommander.validators.NoValidator
public class NoValidator
This is the default value of the validateWith attribute.
Constructor Summary | |
---|---|
NoValidator()
|
Method Summary | |
---|---|
void |
validate(java.lang.String parameterName,
java.lang.String parameterValue)
Validate the parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoValidator()
Method Detail |
---|
public void validate(java.lang.String parameterName, java.lang.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 validate
ParameterException
- Thrown if the value of the parameter is invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |