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

withDefaults() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  9e5bcc71_82cd_9eda_7df9_84d4bca7bca5["withDefaults()"]
  de1cb07a_3adb_144b_b31b_bed60a7f7a1d["withDefaults()"]
  de1cb07a_3adb_144b_b31b_bed60a7f7a1d -->|calls| 9e5bcc71_82cd_9eda_7df9_84d4bca7bca5
  de1cb07a_3adb_144b_b31b_bed60a7f7a1d["withDefaults()"]
  9e5bcc71_82cd_9eda_7df9_84d4bca7bca5 -->|calls| de1cb07a_3adb_144b_b31b_bed60a7f7a1d
  16ba17cb_264c_7bb8_8483_930107f47d72["withFallbackProperty()"]
  9e5bcc71_82cd_9eda_7df9_84d4bca7bca5 -->|calls| 16ba17cb_264c_7bb8_8483_930107f47d72
  style 9e5bcc71_82cd_9eda_7df9_84d4bca7bca5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/structured/ElasticCommonSchemaProperties.java lines 95–99

		Service withDefaults(Environment environment) {
			String name = withFallbackProperty(environment, this.name, "spring.application.name");
			String version = withFallbackProperty(environment, this.version, "spring.application.version");
			return new Service(name, version, this.environment, this.nodeName);
		}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does withDefaults() do?
withDefaults() is a function in the spring-boot codebase.
What does withDefaults() call?
withDefaults() calls 2 function(s): withDefaults, withFallbackProperty.
What calls withDefaults()?
withDefaults() is called by 1 function(s): withDefaults.

Analyze Your Own Codebase

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

Try Supermodel Free