public class ValidationErrors
extends java.lang.Object
implements java.lang.Iterable<org.springframework.validation.ObjectError>
ObjectErrors
caused by bind validation failures.
Where possible, included FieldErrors
will be OriginProvider.Modifier and Type | Method and Description |
---|---|
java.util.List<org.springframework.validation.ObjectError> |
getAllErrors()
Return the list of all validation errors.
|
java.util.Set<ConfigurationProperty> |
getBoundProperties()
Return the properties that were bound before validation failed.
|
ConfigurationPropertyName |
getName()
Return the name of the item that was being validated.
|
boolean |
hasErrors() |
java.util.Iterator<org.springframework.validation.ObjectError> |
iterator() |
public ConfigurationPropertyName getName()
public java.util.Set<ConfigurationProperty> getBoundProperties()
public boolean hasErrors()
public java.util.List<org.springframework.validation.ObjectError> getAllErrors()
public java.util.Iterator<org.springframework.validation.ObjectError> iterator()
iterator
in interface java.lang.Iterable<org.springframework.validation.ObjectError>