commandLineArgsApplyToSpringApplication() — spring-boot Function Reference
Architecture documentation for the commandLineArgsApplyToSpringApplication() function in SpringApplicationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 6d9654ae_cdaf_db25_b4c7_bffcc1061292["commandLineArgsApplyToSpringApplication()"] 69816486_a4f0_d760_faa8_b84520ac7e8a["TestSpringApplication()"] 6d9654ae_cdaf_db25_b4c7_bffcc1061292 -->|calls| 69816486_a4f0_d760_faa8_b84520ac7e8a 4af59c31_de15_527e_1a2b_96ebf4805c46["getBannerMode()"] 6d9654ae_cdaf_db25_b4c7_bffcc1061292 -->|calls| 4af59c31_de15_527e_1a2b_96ebf4805c46 2f52a2b0_73b0_9048_618c_5bed4f31ac43["run()"] 6d9654ae_cdaf_db25_b4c7_bffcc1061292 -->|calls| 2f52a2b0_73b0_9048_618c_5bed4f31ac43 style 6d9654ae_cdaf_db25_b4c7_bffcc1061292 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 955–961
@Test
void commandLineArgsApplyToSpringApplication() {
TestSpringApplication application = new TestSpringApplication(ExampleConfig.class);
application.setWebApplicationType(WebApplicationType.NONE);
this.context = application.run("--spring.main.banner-mode=OFF");
assertThat(application.getBannerMode()).isEqualTo(Banner.Mode.OFF);
}
Domain
Subdomains
Calls
- TestSpringApplication()
- getBannerMode()
- run()
Source
Frequently Asked Questions
What does commandLineArgsApplyToSpringApplication() do?
commandLineArgsApplyToSpringApplication() is a function in the spring-boot codebase.
What does commandLineArgsApplyToSpringApplication() call?
commandLineArgsApplyToSpringApplication() calls 3 function(s): TestSpringApplication, getBannerMode, run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free