com.vaadin.flow.data.binder.
Class ValidationResult.SimpleValidationResult
All Implemented Interfaces:
Enclosing interface:
Simple validation result implementation.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.data.binder.ValidationResult
ValidationResult.SimpleValidationResult
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.vaadin.flow.data.binder.ValidationResult
isError
-
Method Details
-
getErrorMessage
Description copied from interface:
ValidationResult
Returns the result message.
Throws an
IllegalStateException
if the result represents success.Specified by:
getErrorMessage
in interfaceValidationResult
Returns:
the error message
-
getErrorLevel
Description copied from interface:
ValidationResult
Returns optional error level for this validation result. Error level is not present for successful validation results.
Note: By default
ErrorLevel.INFO
andErrorLevel.WARNING
are not considered to be blocking the validation and conversion chain.Specified by:
getErrorLevel
in interfaceValidationResult
Returns:
optional error level; error level is present for validation results that have not passed validation
See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-