buildPropertiesCustomLocation() — spring-boot Function Reference
Architecture documentation for the buildPropertiesCustomLocation() function in ProjectInfoAutoConfigurationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 4cf73fba_53b3_a171_d0d9_c0750199b81d["buildPropertiesCustomLocation()"] b0f3439b_dd2d_a572_45ac_8303d004039a["getGroup()"] 4cf73fba_53b3_a171_d0d9_c0750199b81d -->|calls| b0f3439b_dd2d_a572_45ac_8303d004039a 01f927bc_2f5e_18ee_ae90_cbc326b21280["getArtifact()"] 4cf73fba_53b3_a171_d0d9_c0750199b81d -->|calls| 01f927bc_2f5e_18ee_ae90_cbc326b21280 2435db46_e446_df2e_d43b_5d4a3ff349e7["getName()"] 4cf73fba_53b3_a171_d0d9_c0750199b81d -->|calls| 2435db46_e446_df2e_d43b_5d4a3ff349e7 57e169ca_5baf_1ba1_fdc7_d46aecb13554["getVersion()"] 4cf73fba_53b3_a171_d0d9_c0750199b81d -->|calls| 57e169ca_5baf_1ba1_fdc7_d46aecb13554 03873c8e_bcfa_c348_0f22_4972a8ba24c2["getTime()"] 4cf73fba_53b3_a171_d0d9_c0750199b81d -->|calls| 03873c8e_bcfa_c348_0f22_4972a8ba24c2 style 4cf73fba_53b3_a171_d0d9_c0750199b81d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/info/ProjectInfoAutoConfigurationTests.java lines 115–130
@Test
void buildPropertiesCustomLocation() {
this.contextRunner
.withPropertyValues("spring.info.build.location="
+ "classpath:/org/springframework/boot/autoconfigure/info/build-info.properties")
.run((context) -> {
BuildProperties buildProperties = context.getBean(BuildProperties.class);
assertThat(buildProperties.getGroup()).isEqualTo("com.example.acme");
assertThat(buildProperties.getArtifact()).isEqualTo("acme");
assertThat(buildProperties.getName()).isEqualTo("acme");
assertThat(buildProperties.getVersion()).isEqualTo("1.0.1-SNAPSHOT");
Instant time = buildProperties.getTime();
assertThat(time).isNotNull();
assertThat(time.toEpochMilli()).isEqualTo(1457088120000L);
});
}
Domain
Subdomains
Calls
- getArtifact()
- getGroup()
- getName()
- getTime()
- getVersion()
Source
Frequently Asked Questions
What does buildPropertiesCustomLocation() do?
buildPropertiesCustomLocation() is a function in the spring-boot codebase.
What does buildPropertiesCustomLocation() call?
buildPropertiesCustomLocation() calls 5 function(s): getArtifact, getGroup, getName, getTime, getVersion.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free