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

withDefaults() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 3 called by 2

Entity Profile

Dependency Diagram

graph TD
  b2e89ea4_75c3_0a79_d346_8b7563277187["withDefaults()"]
  8d0ebb61_5055_40de_89dd_c58983886ee5["withDefaults()"]
  8d0ebb61_5055_40de_89dd_c58983886ee5 -->|calls| b2e89ea4_75c3_0a79_d346_8b7563277187
  809e647f_4c44_dfb2_3ea1_1e2df5e518f0["get()"]
  809e647f_4c44_dfb2_3ea1_1e2df5e518f0 -->|calls| b2e89ea4_75c3_0a79_d346_8b7563277187
  8d0ebb61_5055_40de_89dd_c58983886ee5["withDefaults()"]
  b2e89ea4_75c3_0a79_d346_8b7563277187 -->|calls| 8d0ebb61_5055_40de_89dd_c58983886ee5
  a616c67a_c483_0238_3ade_583a8d89637d["withFallbackProperty()"]
  b2e89ea4_75c3_0a79_d346_8b7563277187 -->|calls| a616c67a_c483_0238_3ade_583a8d89637d
  1e9e2f30_5428_77cf_44a8_8ac723c49c7b["GraylogExtendedLogFormatProperties()"]
  b2e89ea4_75c3_0a79_d346_8b7563277187 -->|calls| 1e9e2f30_5428_77cf_44a8_8ac723c49c7b
  style b2e89ea4_75c3_0a79_d346_8b7563277187 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/structured/GraylogExtendedLogFormatProperties.java lines 47–51

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free