Home / Type/ Environment Type — spring-boot Architecture

Environment Type — spring-boot Architecture

Architecture documentation for the Environment type/interface in Environment.java from the spring-boot codebase.

Entity Profile

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/system/Environment.java lines 28–45

@FunctionalInterface
public interface Environment {

	/**
	 * Standard {@link Environment} implementation backed by
	 * {@link System#getenv(String)}.
	 */
	Environment SYSTEM = System::getenv;

	/**
	 * Gets the value of the specified environment variable.
	 * @param name the name of the environment variable
	 * @return the string value of the variable, or {@code null} if the variable is not
	 * defined in the environment
	 */
	@Nullable String get(String name);

}

Analyze Your Own Codebase

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

Try Supermodel Free