getEnvironment() — spring-boot Function Reference
Architecture documentation for the getEnvironment() function in LogbackLoggingSystemTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c02c32dd_166d_6b28_d132_10bcdd9b00cf["getEnvironment()"] 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38["initialize()"] 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38 -->|calls| c02c32dd_166d_6b28_d132_10bcdd9b00cf a74a6404_ac0b_ef50_4554_48366dd90b97["getEnvironment()"] c02c32dd_166d_6b28_d132_10bcdd9b00cf -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38["initialize()"] c02c32dd_166d_6b28_d132_10bcdd9b00cf -->|calls| 58d8d837_b5a1_09c5_cdb4_ff02e18c8c38 501f40c7_eea3_8197_664f_2a7d4a9c3264["beforeInitialize()"] c02c32dd_166d_6b28_d132_10bcdd9b00cf -->|calls| 501f40c7_eea3_8197_664f_2a7d4a9c3264 5442b6c9_c948_65c9_3b32_df1993add6a2["getName()"] c02c32dd_166d_6b28_d132_10bcdd9b00cf -->|calls| 5442b6c9_c948_65c9_3b32_df1993add6a2 style c02c32dd_166d_6b28_d132_10bcdd9b00cf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackLoggingSystemTests.java lines 1130–1135
@Test
void getEnvironment() {
this.loggingSystem.beforeInitialize();
initialize(this.initializationContext, null, null);
assertThat(this.logger.getLoggerContext().getObject(Environment.class.getName())).isSameAs(this.environment);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getEnvironment() do?
getEnvironment() is a function in the spring-boot codebase.
What does getEnvironment() call?
getEnvironment() calls 4 function(s): beforeInitialize, getEnvironment, getName, initialize.
What calls getEnvironment()?
getEnvironment() is called by 1 function(s): initialize.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free