CustomPropertiesValidator Class — spring-boot Architecture
Architecture documentation for the CustomPropertiesValidator class in ConfigurationPropertiesTests.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesTests.java lines 2606–2618
static class CustomPropertiesValidator implements Validator {
@Override
public boolean supports(Class<?> type) {
return type == WithCustomValidatorProperties.class;
}
@Override
public void validate(Object target, Errors errors) {
ValidationUtils.rejectIfEmpty(errors, "foo", "TEST1");
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free