Consumer instead.@Deprecated
public static interface Field.Validator<T>
extends java.util.function.Consumer<T>
Validatable.validate() is called.
Editor screen calls validate() on commit.| Modifier and Type | Method and Description |
|---|---|
default void |
accept(T t)
Deprecated.
|
void |
validate(java.lang.Object value)
Deprecated.
|
void validate(@Nullable
java.lang.Object value)
throws ValidationException
value - field value to validateValidationException - this exception must be thrown by the validator if the value is not valid