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

getProperties() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  5d705507_ac6a_7045_6fac_78f9c7f6d151["getProperties()"]
  cf243047_d12f_3a02_6bb1_6484310d8d2c["ApplicationInfoPropertySource()"]
  cf243047_d12f_3a02_6bb1_6484310d8d2c -->|calls| 5d705507_ac6a_7045_6fac_78f9c7f6d151
  375f3dee_a016_4975_ccff_5224a938466e["ApplicationPid()"]
  5d705507_ac6a_7045_6fac_78f9c7f6d151 -->|calls| 375f3dee_a016_4975_ccff_5224a938466e
  a3f51fd4_25b3_2349_663a_f768f2bdbfd6["toLong()"]
  5d705507_ac6a_7045_6fac_78f9c7f6d151 -->|calls| a3f51fd4_25b3_2349_663a_f768f2bdbfd6
  style 5d705507_ac6a_7045_6fac_78f9c7f6d151 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/ApplicationInfoPropertySource.java lines 55–66

	private static Map<String, Object> getProperties(@Nullable String applicationVersion) {
		Map<String, Object> result = new HashMap<>();
		if (StringUtils.hasText(applicationVersion)) {
			result.put("spring.application.version", applicationVersion);
		}
		ApplicationPid applicationPid = new ApplicationPid();
		Long pid = applicationPid.toLong();
		if (pid != null) {
			result.put("spring.application.pid", pid);
		}
		return result;
	}

Domain

Subdomains

Calls

Called By

  • ApplicationInfoPropertySource()

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free