public static class BasicValueValidators.RustCpValidator extends java.lang.Object implements ValueValidator
| Constructor and Description |
|---|
RustCpValidator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPossibleValues()
Returns a string describing possible values in human-readable form that
this
ValueValidator accepts |
void |
validate(java.lang.Object value)
This method checks if the given object is a valid value for this
specific
ValueValidator. |
public void validate(java.lang.Object value)
throws java.lang.IllegalArgumentException
ValueValidatorValueValidator. Any arbitrary operation can be
performed to ensure that the value is valid.validate in interface ValueValidatorvalue - The object to validatejava.lang.IllegalArgumentException - if the value is invalidpublic java.lang.String getPossibleValues()
ValueValidatorValueValidator acceptsgetPossibleValues in interface ValueValidatorValueValidator accepts