Home / Class/ MockResourceBanner Class — spring-boot Architecture

MockResourceBanner Class — spring-boot Architecture

Architecture documentation for the MockResourceBanner class in ResourceBannerTests.java from the spring-boot codebase.

Entity Profile

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/ResourceBannerTests.java lines 191–213

	static class MockResourceBanner extends ResourceBanner {

		private final @Nullable String bootVersion;

		private final @Nullable String applicationTitle;

		MockResourceBanner(Resource resource, @Nullable String bootVersion, @Nullable String applicationTitle) {
			super(resource);
			this.bootVersion = bootVersion;
			this.applicationTitle = applicationTitle;
		}

		@Override
		protected @Nullable String getBootVersion() {
			return this.bootVersion;
		}

		@Override
		protected @Nullable String getApplicationTitle(@Nullable Class<?> sourceClass) {
			return this.applicationTitle;
		}

	}

Domain

Analyze Your Own Codebase

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

Try Supermodel Free