com.vaadin.flow.data.binder.

Class BindingValidationStatus<TARGET>

java.lang.Object
com.vaadin.flow.data.binder.BindingValidationStatus<TARGET>

Type Parameters:

TARGET - the target data type of the binding for which the validation status changed, matches the field type unless a converter has been set

All Implemented Interfaces:

Serializable

public class BindingValidationStatus<TARGET> extends Object implements Serializable

Represents the status of field validation. Status can be Status.OK, Status.ERROR or Status.UNRESOLVED. Status OK and ERROR are always associated with a ValidationResult getResult().

Use Binder.BindingBuilder.withValidationStatusHandler(BindingValidationStatusHandler) to register a handler for field level validation status changes.

Since:

1.0

Author:

Vaadin Ltd

See Also: