validateMapValues() — spring-boot Function Reference
Architecture documentation for the validateMapValues() function in ValidationBindHandlerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ca8ccd24_e9c4_6204_2248_333ac88b677e["validateMapValues()"] dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"] ca8ccd24_e9c4_6204_2248_333ac88b677e -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 725e97d2_341b_6665_84bc_9206c7185c54["put()"] ca8ccd24_e9c4_6204_2248_333ac88b677e -->|calls| 725e97d2_341b_6665_84bc_9206c7185c54 7ed947bf_22a1_2781_a2ae_759aa1907445["add()"] ca8ccd24_e9c4_6204_2248_333ac88b677e -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445 873d0a15_c30a_d212_0fe2_f0fe1d8a4193["getMapValidator()"] ca8ccd24_e9c4_6204_2248_333ac88b677e -->|calls| 873d0a15_c30a_d212_0fe2_f0fe1d8a4193 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] ca8ccd24_e9c4_6204_2248_333ac88b677e -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"] ca8ccd24_e9c4_6204_2248_333ac88b677e -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 style ca8ccd24_e9c4_6204_2248_333ac88b677e 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 219–228
@Test
void validateMapValues() {
MockConfigurationPropertySource source = new MockConfigurationPropertySource();
source.put("test.items.[itemOne].number", "one");
source.put("test.items.[ITEM2].number", "two");
this.sources.add(source);
Validator validator = getMapValidator();
this.handler = new ValidationBindHandler(validator);
this.binder.bind(ConfigurationPropertyName.of("test"), Bindable.of(ExampleWithMap.class), this.handler);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does validateMapValues() do?
validateMapValues() is a function in the spring-boot codebase.
What does validateMapValues() call?
validateMapValues() calls 6 function(s): MockConfigurationPropertySource, add, bind, getMapValidator, of, put.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free