Home / Class/ TestHandler Class — spring-boot Architecture

TestHandler Class — spring-boot Architecture

Architecture documentation for the TestHandler class in ValidationBindHandlerTests.java from the spring-boot codebase.

Entity Profile

Relationship Graph

Source Code

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

	static class TestHandler extends AbstractBindHandler {

		private final @Nullable Object result;

		TestHandler(@Nullable Object result) {
			this.result = result;
		}

		@Override
		public @Nullable Object onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context,
				Exception error) throws Exception {
			return this.result;
		}

	}

Domain

Analyze Your Own Codebase

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

Try Supermodel Free