public interface ValueConstraint extends ConfigConstraint
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Get the key this restraint refers to.
|
boolean |
isValid(java.lang.String value,
Config config)
Check if a value is valid.
|
boolean |
undefinedIsValid()
Find out if an undefined value is counted as valid or invalid.
|
getDescription, getKeys, isViolatedjava.lang.String getKey()
boolean isValid(java.lang.String value,
Config config)
value - The value to check.config - The Config object.boolean undefinedIsValid()