public abstract class ValidationOption extends Object
| Constructor and Description |
|---|
ValidationOption() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
canContain(Object arg)
Verify that this option can contain the given Object as configuration
For example MinimumOption can only contain numbers, not Strings
|
abstract String |
validate(Object arg,
Object value)
Validate an Object against the criteria given by this option
|
public abstract boolean canContain(Object arg)
arg - the Object to test