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

validateMapValuesWithNonUniformSource() — spring-boot Function Reference

Architecture documentation for the validateMapValuesWithNonUniformSource() function in ValidationBindHandlerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  006cfb1f_c339_7371_468c_ffb9c45c592b["validateMapValuesWithNonUniformSource()"]
  725e97d2_341b_6665_84bc_9206c7185c54["put()"]
  006cfb1f_c339_7371_468c_ffb9c45c592b -->|calls| 725e97d2_341b_6665_84bc_9206c7185c54
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  006cfb1f_c339_7371_468c_ffb9c45c592b -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  c0ad9f7d_f5a5_1e72_4fdb_dd2e7946bdf8["iterator()"]
  006cfb1f_c339_7371_468c_ffb9c45c592b -->|calls| c0ad9f7d_f5a5_1e72_4fdb_dd2e7946bdf8
  873d0a15_c30a_d212_0fe2_f0fe1d8a4193["getMapValidator()"]
  006cfb1f_c339_7371_468c_ffb9c45c592b -->|calls| 873d0a15_c30a_d212_0fe2_f0fe1d8a4193
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  006cfb1f_c339_7371_468c_ffb9c45c592b -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"]
  006cfb1f_c339_7371_468c_ffb9c45c592b -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78
  style 006cfb1f_c339_7371_468c_ffb9c45c592b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/validation/ValidationBindHandlerTests.java lines 230–239

	@Test
	void validateMapValuesWithNonUniformSource() {
		Map<String, Object> map = new LinkedHashMap<>();
		map.put("test.items.itemOne.number", "one");
		map.put("test.items.ITEM2.number", "two");
		this.sources.add(ConfigurationPropertySources.from(new MapPropertySource("test", map)).iterator().next());
		Validator validator = getMapValidator();
		this.handler = new ValidationBindHandler(validator);
		this.binder.bind(ConfigurationPropertyName.of("test"), Bindable.of(ExampleWithMap.class), this.handler);
	}

Domain

Subdomains

Frequently Asked Questions

What does validateMapValuesWithNonUniformSource() do?
validateMapValuesWithNonUniformSource() is a function in the spring-boot codebase.
What does validateMapValuesWithNonUniformSource() call?
validateMapValuesWithNonUniformSource() calls 6 function(s): add, bind, getMapValidator, iterator, of, put.

Analyze Your Own Codebase

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

Try Supermodel Free