org.springframework.boot.context.properties.bind.validation

Class ValidationErrors

  • java.lang.Object
    • org.springframework.boot.context.properties.bind.validation.ValidationErrors
    • Method Detail

      • getName

        public ConfigurationPropertyName getName()
        Return the name of the item that was being validated.
        Returns:
        the name of the item
      • getBoundProperties

        public Set<ConfigurationProperty> getBoundProperties()
        Return the properties that were bound before validation failed.
        Returns:
        the boundProperties
      • hasErrors

        public boolean hasErrors()
      • getAllErrors

        public List<ObjectError> getAllErrors()
        Return the list of all validation errors.
        Returns:
        the errors