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

run() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b215aec4_0319_87cf_480f_4214d65ba522["run()"]
  a82ca915_221f_4198_1add_8decd0ff248a["run()"]
  a82ca915_221f_4198_1add_8decd0ff248a -->|calls| b215aec4_0319_87cf_480f_4214d65ba522
  a82ca915_221f_4198_1add_8decd0ff248a["run()"]
  b215aec4_0319_87cf_480f_4214d65ba522 -->|calls| a82ca915_221f_4198_1add_8decd0ff248a
  99c60c68_030f_97ad_b371_4efc5441613a["RunProcessKiller()"]
  b215aec4_0319_87cf_480f_4214d65ba522 -->|calls| 99c60c68_030f_97ad_b371_4efc5441613a
  style b215aec4_0319_87cf_480f_4214d65ba522 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunMojo.java lines 78–85

	@Override
	protected void run(JavaProcessExecutor processExecutor, File workingDirectory, List<String> args,
			Map<String, String> environmentVariables) throws MojoExecutionException, MojoFailureException {
		processExecutor
			.withRunProcessCustomizer(
					(runProcess) -> Runtime.getRuntime().addShutdownHook(new Thread(new RunProcessKiller(runProcess))))
			.run(workingDirectory, args, environmentVariables);
	}

Domain

Subdomains

Calls

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): RunProcessKiller, run.
What calls run()?
run() is called by 1 function(s): run.

Analyze Your Own Codebase

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

Try Supermodel Free