environment() — spring-boot Function Reference
Architecture documentation for the environment() function in SpringApplicationBuilder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ae274a0a_4be3_3db9_53e9_5b0b050b3801["environment()"] a64bbc22_3f73_434d_d720_26462030b670["child()"] a64bbc22_3f73_434d_d720_26462030b670 -->|calls| ae274a0a_4be3_3db9_53e9_5b0b050b3801 8a118e49_42e8_8550_9795_9fdf8ea8c31e["parent()"] 8a118e49_42e8_8550_9795_9fdf8ea8c31e -->|calls| ae274a0a_4be3_3db9_53e9_5b0b050b3801 94e71749_900c_a3ee_880d_8d0e95c538e4["properties()"] 94e71749_900c_a3ee_880d_8d0e95c538e4 -->|calls| ae274a0a_4be3_3db9_53e9_5b0b050b3801 6783843b_836b_ffe1_7b56_c6df6bf9d1bc["defaultPropertiesShouldBeMerged()"] 6783843b_836b_ffe1_7b56_c6df6bf9d1bc -->|calls| ae274a0a_4be3_3db9_53e9_5b0b050b3801 bdbaeb8a_5326_2c5d_9dd5_b161413d3b29["load()"] bdbaeb8a_5326_2c5d_9dd5_b161413d3b29 -->|calls| ae274a0a_4be3_3db9_53e9_5b0b050b3801 60f23964_a964_410e_add0_9e7ca52f38f9["load()"] 60f23964_a964_410e_add0_9e7ca52f38f9 -->|calls| ae274a0a_4be3_3db9_53e9_5b0b050b3801 bcb16b39_1cc9_8ad7_8ae2_fb817a35bf45["setEnvironment()"] ae274a0a_4be3_3db9_53e9_5b0b050b3801 -->|calls| bcb16b39_1cc9_8ad7_8ae2_fb817a35bf45 style ae274a0a_4be3_3db9_53e9_5b0b050b3801 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java lines 532–536
public SpringApplicationBuilder environment(@Nullable ConfigurableEnvironment environment) {
this.application.setEnvironment(environment);
this.environment = environment;
return this;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does environment() do?
environment() is a function in the spring-boot codebase.
What does environment() call?
environment() calls 1 function(s): setEnvironment.
What calls environment()?
environment() is called by 6 function(s): child, defaultPropertiesShouldBeMerged, load, load, parent, properties.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free