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

getCommands() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e45b2f65_2856_2e90_5444_2888f9198454["getCommands()"]
  dd854fc5_d5f8_50f8_ef09_7e9365493bb8["addServiceLoaderCommands()"]
  dd854fc5_d5f8_50f8_ef09_7e9365493bb8 -->|calls| e45b2f65_2856_2e90_5444_2888f9198454
  b0a5214f_f716_f0a1_c3d0_36f4292df6a4["iterator()"]
  b0a5214f_f716_f0a1_c3d0_36f4292df6a4 -->|calls| e45b2f65_2856_2e90_5444_2888f9198454
  f24cb0df_86b0_e91a_bb3c_044989f5b676["getCommands()"]
  f24cb0df_86b0_e91a_bb3c_044989f5b676 -->|calls| e45b2f65_2856_2e90_5444_2888f9198454
  style e45b2f65_2856_2e90_5444_2888f9198454 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 142–144

	protected final List<Command> getCommands() {
		return Collections.unmodifiableList(this.commands);
	}

Domain

Subdomains

Frequently Asked Questions

What does getCommands() do?
getCommands() is a function in the spring-boot codebase.
What calls getCommands()?
getCommands() is called by 3 function(s): addServiceLoaderCommands, getCommands, iterator.

Analyze Your Own Codebase

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

Try Supermodel Free