|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beust.jcommander.validators.NoValueValidator<T>
public class NoValueValidator<T>
This is the default value of the validateValueWith attribute.
Constructor Summary | |
---|---|
NoValueValidator()
|
Method Summary | |
---|---|
void |
validate(java.lang.String parameterName,
T 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 NoValueValidator()
Method Detail |
---|
public void validate(java.lang.String parameterName, T parameterValue) throws ParameterException
IValueValidator
validate
in interface IValueValidator<T>
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 |