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

run() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  0af03bbc_d548_7a00_2019_7e30cb23fe8a["run()"]
  d4352ae4_3b86_af12_d18c_32b15fd9a739["getDockerCommand()"]
  d4352ae4_3b86_af12_d18c_32b15fd9a739 -->|calls| 0af03bbc_d548_7a00_2019_7e30cb23fe8a
  24693585_9d99_abaf_360e_f6d43d29594d["getDockerComposeCommand()"]
  24693585_9d99_abaf_360e_f6d43d29594d -->|calls| 0af03bbc_d548_7a00_2019_7e30cb23fe8a
  ff096458_416b_4c63_f021_081d094c4916["createCommand()"]
  0af03bbc_d548_7a00_2019_7e30cb23fe8a -->|calls| ff096458_416b_4c63_f021_081d094c4916
  8425bf21_1ab6_f00d_9f7d_cbf9e68060bc["createOutputConsumer()"]
  0af03bbc_d548_7a00_2019_7e30cb23fe8a -->|calls| 8425bf21_1ab6_f00d_9f7d_cbf9e68060bc
  style 0af03bbc_d548_7a00_2019_7e30cb23fe8a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/core/DockerCli.java lines 78–84

	<R> R run(DockerCliCommand<R> dockerCommand) {
		List<String> command = createCommand(dockerCommand.getType());
		command.addAll(dockerCommand.getCommand(this.composeVersion));
		Consumer<String> outputConsumer = createOutputConsumer(dockerCommand.getLogLevel());
		String json = this.processRunner.run(outputConsumer, command.toArray(new String[0]));
		return dockerCommand.deserialize(json);
	}

Domain

Subdomains

Calls

  • createCommand()
  • createOutputConsumer()

Called By

  • getDockerCommand()
  • getDockerComposeCommand()

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): createCommand, createOutputConsumer.
What calls run()?
run() is called by 2 function(s): getDockerCommand, getDockerComposeCommand.

Analyze Your Own Codebase

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

Try Supermodel Free