Home / Class/ ValidatorConstructorBoundProperties Class — spring-boot Architecture

ValidatorConstructorBoundProperties Class — spring-boot Architecture

Architecture documentation for the ValidatorConstructorBoundProperties 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 2311–2334

	@ConfigurationProperties
	static class ValidatorConstructorBoundProperties implements Validator {

		private final String foo;

		ValidatorConstructorBoundProperties(String foo) {
			this.foo = foo;
		}

		@Override
		public boolean supports(Class<?> type) {
			return type == ValidatorConstructorBoundProperties.class;
		}

		@Override
		public void validate(Object target, Errors errors) {
			ValidationUtils.rejectIfEmpty(errors, "foo", "TEST1");
		}

		String getFoo() {
			return this.foo;
		}

	}

Domain

Analyze Your Own Codebase

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

Try Supermodel Free