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

run() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4e92c1b7_f7e2_9cb0_305c_51ae7872cc89["run()"]
  c45b044b_9273_6ffc_feab_7352af759960["run()"]
  c45b044b_9273_6ffc_feab_7352af759960 -->|calls| 4e92c1b7_f7e2_9cb0_305c_51ae7872cc89
  c45b044b_9273_6ffc_feab_7352af759960["run()"]
  4e92c1b7_f7e2_9cb0_305c_51ae7872cc89 -->|calls| c45b044b_9273_6ffc_feab_7352af759960
  6327b9f9_bcb7_65b2_1dc9_81e5e13c6651["RunProcessKiller()"]
  4e92c1b7_f7e2_9cb0_305c_51ae7872cc89 -->|calls| 6327b9f9_bcb7_65b2_1dc9_81e5e13c6651
  style 4e92c1b7_f7e2_9cb0_305c_51ae7872cc89 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/TestRunMojo.java lines 94–101

	@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