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

addCommands() — spring-boot Function Reference

Architecture documentation for the addCommands() function in CommandRunner.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  1975b440_a0fa_58cb_acf6_cbc63ca55613["addCommands()"]
  dd854fc5_d5f8_50f8_ef09_7e9365493bb8["addServiceLoaderCommands()"]
  dd854fc5_d5f8_50f8_ef09_7e9365493bb8 -->|calls| 1975b440_a0fa_58cb_acf6_cbc63ca55613
  a0875f38_348f_d67f_efc8_22a89829015a["createCommandRunner()"]
  a0875f38_348f_d67f_efc8_22a89829015a -->|calls| 1975b440_a0fa_58cb_acf6_cbc63ca55613
  48695443_ab03_c0ba_5509_a65981075210["addCommand()"]
  1975b440_a0fa_58cb_acf6_cbc63ca55613 -->|calls| 48695443_ab03_c0ba_5509_a65981075210
  style 1975b440_a0fa_58cb_acf6_cbc63ca55613 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandRunner.java lines 76–81

	public void addCommands(Iterable<Command> commands) {
		Assert.notNull(commands, "'commands' must not be null");
		for (Command command : commands) {
			addCommand(command);
		}
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does addCommands() do?
addCommands() is a function in the spring-boot codebase.
What does addCommands() call?
addCommands() calls 1 function(s): addCommand.
What calls addCommands()?
addCommands() is called by 2 function(s): addServiceLoaderCommands, createCommandRunner.

Analyze Your Own Codebase

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

Try Supermodel Free