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

getArgs() — spring-boot Function Reference

Architecture documentation for the getArgs() function in SimpleMainTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  64abb8c9_05f9_c32f_72a8_29487b8d7892["getArgs()"]
  ec223c77_407d_f2d1_0c5b_97ee97eb5240["emptyApplicationContext()"]
  ec223c77_407d_f2d1_0c5b_97ee97eb5240 -->|calls| 64abb8c9_05f9_c32f_72a8_29487b8d7892
  fc295ca2_d706_fa9d_e146_448b94101d84["basePackageScan()"]
  fc295ca2_d706_fa9d_e146_448b94101d84 -->|calls| 64abb8c9_05f9_c32f_72a8_29487b8d7892
  9591a6fd_ce4b_7684_1325_780e1b621b9d["configClassContext()"]
  9591a6fd_ce4b_7684_1325_780e1b621b9d -->|calls| 64abb8c9_05f9_c32f_72a8_29487b8d7892
  baa73350_faff_3d03_f4ee_62a6ca0b5173["xmlContext()"]
  baa73350_faff_3d03_f4ee_62a6ca0b5173 -->|calls| 64abb8c9_05f9_c32f_72a8_29487b8d7892
  26ad99b9_8f27_c67b_3111_0aa32f185856["mixedContext()"]
  26ad99b9_8f27_c67b_3111_0aa32f185856 -->|calls| 64abb8c9_05f9_c32f_72a8_29487b8d7892
  style 64abb8c9_05f9_c32f_72a8_29487b8d7892 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/SimpleMainTests.java lines 77–84

	private String[] getArgs(String... args) {
		List<String> list = new ArrayList<>(Arrays.asList("--spring.main.web-application-type=none",
				"--spring.main.show-banner=OFF", "--spring.main.register-shutdownHook=false"));
		if (args.length > 0) {
			list.add("--spring.main.sources=" + StringUtils.arrayToCommaDelimitedString(args));
		}
		return StringUtils.toStringArray(list);
	}

Domain

Subdomains

Called By

  • basePackageScan()
  • configClassContext()
  • emptyApplicationContext()
  • mixedContext()
  • xmlContext()

Frequently Asked Questions

What does getArgs() do?
getArgs() is a function in the spring-boot codebase.
What calls getArgs()?
getArgs() is called by 5 function(s): basePackageScan, configClassContext, emptyApplicationContext, mixedContext, xmlContext.

Analyze Your Own Codebase

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

Try Supermodel Free