Home / Function/ from() — spring-boot Function Reference

from() — spring-boot Function Reference

Architecture documentation for the from() function in DockerConfigurationMetadata.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  45484fa2_9e09_b33b_25d6_5f6bb613d8a6["from()"]
  58994152_b05e_a16f_283c_b6dc2c064895["get()"]
  45484fa2_9e09_b33b_25d6_5f6bb613d8a6 -->|calls| 58994152_b05e_a16f_283c_b6dc2c064895
  e2f59cdc_ac98_582e_bb45_2392be37db9d["create()"]
  45484fa2_9e09_b33b_25d6_5f6bb613d8a6 -->|calls| e2f59cdc_ac98_582e_bb45_2392be37db9d
  style 45484fa2_9e09_b33b_25d6_5f6bb613d8a6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/configuration/DockerConfigurationMetadata.java lines 96–101

	static DockerConfigurationMetadata from(Environment environment) {
		if (environment == Environment.SYSTEM) {
			return systemEnvironmentConfigurationMetadata.get();
		}
		return create(environment);
	}

Subdomains

Frequently Asked Questions

What does from() do?
from() is a function in the spring-boot codebase.
What does from() call?
from() calls 2 function(s): create, get.

Analyze Your Own Codebase

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

Try Supermodel Free