Home / Class/ TestStartup Class — spring-boot Architecture

TestStartup Class — spring-boot Architecture

Architecture documentation for the TestStartup class in StartupInfoLoggerTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/StartupInfoLoggerTests.java lines 133–162

	static class TestStartup extends Startup {

		private final long startTime = System.currentTimeMillis();

		private final @Nullable Long uptime;

		private final String action;

		TestStartup(@Nullable Long uptime, String action) {
			this.uptime = uptime;
			this.action = action;
			started();
		}

		@Override
		protected long startTime() {
			return this.startTime;
		}

		@Override
		protected @Nullable Long processUptime() {
			return this.uptime;
		}

		@Override
		protected String action() {
			return this.action;
		}

	}

Analyze Your Own Codebase

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

Try Supermodel Free