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

setEnvironmentPrefix() — spring-boot Function Reference

Architecture documentation for the setEnvironmentPrefix() function in SpringApplicationBuilderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  d42bf4b3_d57d_03a8_fd21_cc357c619411["setEnvironmentPrefix()"]
  2b0f86f3_6ad1_9ee6_9a1e_b19431054c30["setEnvironmentPrefix()"]
  d42bf4b3_d57d_03a8_fd21_cc357c619411 -->|calls| 2b0f86f3_6ad1_9ee6_9a1e_b19431054c30
  3dc59be6_081a_34fd_0727_a7b4669b8750["assertThat()"]
  d42bf4b3_d57d_03a8_fd21_cc357c619411 -->|calls| 3dc59be6_081a_34fd_0727_a7b4669b8750
  49f2ec3b_8df2_1212_bee0_a9b891389964["getEnvironmentPrefix()"]
  d42bf4b3_d57d_03a8_fd21_cc357c619411 -->|calls| 49f2ec3b_8df2_1212_bee0_a9b891389964
  style d42bf4b3_d57d_03a8_fd21_cc357c619411 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/builder/SpringApplicationBuilderTests.java lines 337–341

	@Test
	void setEnvironmentPrefix() {
		SpringApplicationBuilder builder = new SpringApplicationBuilder(ExampleConfig.class).environmentPrefix("test");
		assertThat(builder.application().getEnvironmentPrefix()).isEqualTo("test");
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does setEnvironmentPrefix() do?
setEnvironmentPrefix() is a function in the spring-boot codebase.
What does setEnvironmentPrefix() call?
setEnvironmentPrefix() calls 3 function(s): assertThat, getEnvironmentPrefix, setEnvironmentPrefix.

Analyze Your Own Codebase

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

Try Supermodel Free