Class ValidationErrors
java.lang.Object
org.springframework.boot.context.properties.bind.validation.ValidationErrors
- All Implemented Interfaces:
- Iterable<ObjectError>
A collection of 
ObjectErrors caused by bind validation failures.
 Where possible, included FieldErrors will be OriginProvider.- Since:
- 2.0.0
- Author:
- Phillip Webb, Madhura Bhave
- 
Method Details- 
getNameReturn the name of the item that was being validated.- Returns:
- the name of the item
 
- 
getBoundPropertiesReturn the properties that were bound before validation failed.- Returns:
- the boundProperties
 
- 
hasErrorspublic boolean hasErrors()
- 
getAllErrorsReturn the list of all validation errors.- Returns:
- the errors
 
- 
iterator- Specified by:
- iteratorin interface- Iterable<ObjectError>
 
 
-