Home / Function/ getValidationErrors() — spring-boot Function Reference

getValidationErrors() — spring-boot Function Reference

Architecture documentation for the getValidationErrors() function in ValidationBindHandler.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  3c03e8a2_dea4_98a2_8c26_ae9cf52a60e4["getValidationErrors()"]
  673e1229_eef6_33a0_d2c4_3a4aec746779["validateAndPush()"]
  673e1229_eef6_33a0_d2c4_3a4aec746779 -->|calls| 3c03e8a2_dea4_98a2_8c26_ae9cf52a60e4
  8a3d9db5_328f_e1f5_894e_8f21318d0e64["isAncestorOf()"]
  3c03e8a2_dea4_98a2_8c26_ae9cf52a60e4 -->|calls| 8a3d9db5_328f_e1f5_894e_8f21318d0e64
  4e3a6de6_7188_7fae_a1cd_4f901d63c646["getName()"]
  3c03e8a2_dea4_98a2_8c26_ae9cf52a60e4 -->|calls| 4e3a6de6_7188_7fae_a1cd_4f901d63c646
  style 3c03e8a2_dea4_98a2_8c26_ae9cf52a60e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/validation/ValidationBindHandler.java lines 247–252

		ValidationErrors getValidationErrors() {
			Set<ConfigurationProperty> boundProperties = ValidationBindHandler.this.boundProperties.stream()
				.filter((property) -> this.name.isAncestorOf(property.getName()))
				.collect(Collectors.toCollection(LinkedHashSet::new));
			return new ValidationErrors(this.name, boundProperties, getAllErrors());
		}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getValidationErrors() do?
getValidationErrors() is a function in the spring-boot codebase.
What does getValidationErrors() call?
getValidationErrors() calls 2 function(s): getName, isAncestorOf.
What calls getValidationErrors()?
getValidationErrors() is called by 1 function(s): validateAndPush.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free