ValidatorProperties Class — spring-boot Architecture
Architecture documentation for the ValidatorProperties 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 2280–2304
@EnableConfigurationProperties
@ConfigurationProperties
static class ValidatorProperties implements Validator {
private @Nullable String foo;
@Override
public boolean supports(Class<?> type) {
return type == ValidatorProperties.class;
}
@Override
public void validate(Object target, Errors errors) {
ValidationUtils.rejectIfEmpty(errors, "foo", "TEST1");
}
@Nullable String getFoo() {
return this.foo;
}
void setFoo(@Nullable String foo) {
this.foo = foo;
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free