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

run() — spring-boot Function Reference

Architecture documentation for the run() function in OptionHandler.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  6d62efc4_2b30_b980_aadc_f8e754508046["run()"]
  10c4e767_10f3_8242_b7ec_55739221b7fd["run()"]
  10c4e767_10f3_8242_b7ec_55739221b7fd -->|calls| 6d62efc4_2b30_b980_aadc_f8e754508046
  99cb7f98_9080_5773_6bf6_b5a59d233c58["run()"]
  99cb7f98_9080_5773_6bf6_b5a59d233c58 -->|calls| 6d62efc4_2b30_b980_aadc_f8e754508046
  915c99b9_e41b_61ce_ca83_5a7be98cbd9e["run()"]
  915c99b9_e41b_61ce_ca83_5a7be98cbd9e -->|calls| 6d62efc4_2b30_b980_aadc_f8e754508046
  10c4e767_10f3_8242_b7ec_55739221b7fd["run()"]
  6d62efc4_2b30_b980_aadc_f8e754508046 -->|calls| 10c4e767_10f3_8242_b7ec_55739221b7fd
  b6d37865_5032_0d6c_4308_ed886521baa8["getParser()"]
  6d62efc4_2b30_b980_aadc_f8e754508046 -->|calls| b6d37865_5032_0d6c_4308_ed886521baa8
  style 6d62efc4_2b30_b980_aadc_f8e754508046 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java lines 97–107

	public final ExitStatus run(String... args) throws Exception {
		String[] argsToUse = args.clone();
		for (int i = 0; i < argsToUse.length; i++) {
			if ("-cp".equals(argsToUse[i])) {
				argsToUse[i] = "--cp";
			}
			argsToUse[i] = this.argumentProcessor.apply(argsToUse[i]);
		}
		OptionSet options = getParser().parse(argsToUse);
		return run(options);
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does run() do?
run() is a function in the spring-boot codebase.
What does run() call?
run() calls 2 function(s): getParser, run.
What calls run()?
run() is called by 3 function(s): run, run, run.

Analyze Your Own Codebase

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

Try Supermodel Free