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

createProperties() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  daeebeac_87e1_0df5_d49e_a8e5fbfa480a["createProperties()"]
  05049cfd_d988_b2ba_586d_666523237664["basicInfo()"]
  05049cfd_d988_b2ba_586d_666523237664 -->|calls| daeebeac_87e1_0df5_d49e_a8e5fbfa480a
  8fb3275f_69cb_503b_dac9_a99a46b54b80["coerceEpochSecond()"]
  8fb3275f_69cb_503b_dac9_a99a46b54b80 -->|calls| daeebeac_87e1_0df5_d49e_a8e5fbfa480a
  23f3ddc2_38e3_712e_bd68_2204034f19fb["coerceLegacyDateString()"]
  23f3ddc2_38e3_712e_bd68_2204034f19fb -->|calls| daeebeac_87e1_0df5_d49e_a8e5fbfa480a
  2cbf7f9c_61e9_7001_b5e0_6a61a0d6b08e["coerceDateString()"]
  2cbf7f9c_61e9_7001_b5e0_6a61a0d6b08e -->|calls| daeebeac_87e1_0df5_d49e_a8e5fbfa480a
  b84e4d92_4c48_3a13_578e_8e286f82f7aa["coerceUnsupportedFormat()"]
  b84e4d92_4c48_3a13_578e_8e286f82f7aa -->|calls| daeebeac_87e1_0df5_d49e_a8e5fbfa480a
  22fc16ed_9e1b_2d63_a33f_a63d701c4347["shortCommitUsedIfPresent()"]
  22fc16ed_9e1b_2d63_a33f_a63d701c4347 -->|calls| daeebeac_87e1_0df5_d49e_a8e5fbfa480a
  487ff16a_992e_9063_132f_add74627554e["shortenCommitIdShorterThan7()"]
  487ff16a_992e_9063_132f_add74627554e -->|calls| daeebeac_87e1_0df5_d49e_a8e5fbfa480a
  c4efafd9_cf4e_44b6_cee4_1bc94180af20["shortenCommitIdLongerThan7()"]
  c4efafd9_cf4e_44b6_cee4_1bc94180af20 -->|calls| daeebeac_87e1_0df5_d49e_a8e5fbfa480a
  style daeebeac_87e1_0df5_d49e_a8e5fbfa480a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/info/GitPropertiesTests.java lines 118–128

	private static Properties createProperties(String branch, String commitId, @Nullable String commitIdAbbrev,
			String commitTime) {
		Properties properties = new Properties();
		properties.put("branch", branch);
		properties.put("commit.id", commitId);
		if (commitIdAbbrev != null) {
			properties.put("commit.id.abbrev", commitIdAbbrev);
		}
		properties.put("commit.time", commitTime);
		return properties;
	}

Domain

Subdomains

Called By

  • basicInfo()
  • coerceDateString()
  • coerceEpochSecond()
  • coerceLegacyDateString()
  • coerceUnsupportedFormat()
  • shortCommitUsedIfPresent()
  • shortenCommitIdLongerThan7()
  • shortenCommitIdShorterThan7()

Frequently Asked Questions

What does createProperties() do?
createProperties() is a function in the spring-boot codebase.
What calls createProperties()?
createProperties() is called by 8 function(s): basicInfo, coerceDateString, coerceEpochSecond, coerceLegacyDateString, coerceUnsupportedFormat, shortCommitUsedIfPresent, shortenCommitIdLongerThan7, shortenCommitIdShorterThan7.

Analyze Your Own Codebase

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

Try Supermodel Free