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

version() — spring-boot Function Reference

Architecture documentation for the version() function in CommandLineIT.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  36549697_6b67_8a80_0cb9_e67acfd9edcb["version()"]
  78fb0658_ee96_7956_c944_edf60d9da30f["invoke()"]
  36549697_6b67_8a80_0cb9_e67acfd9edcb -->|calls| 78fb0658_ee96_7956_c944_edf60d9da30f
  fb0f6ac0_6aa3_e825_c305_0a967e58b750["getErrorOutput()"]
  36549697_6b67_8a80_0cb9_e67acfd9edcb -->|calls| fb0f6ac0_6aa3_e825_c305_0a967e58b750
  b4c2c04d_027f_ca96_93f5_b3b8a70a5fb7["getStandardOutput()"]
  36549697_6b67_8a80_0cb9_e67acfd9edcb -->|calls| b4c2c04d_027f_ca96_93f5_b3b8a70a5fb7
  style 36549697_6b67_8a80_0cb9_e67acfd9edcb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/intTest/java/org/springframework/boot/cli/CommandLineIT.java lines 70–76

	@Test
	void version() throws IOException, InterruptedException {
		Invocation cli = this.cli.invoke("version");
		assertThat(cli.await()).isEqualTo(0);
		assertThat(cli.getErrorOutput()).isEmpty();
		assertThat(cli.getStandardOutput()).startsWith("Spring CLI v");
	}

Domain

Subdomains

Frequently Asked Questions

What does version() do?
version() is a function in the spring-boot codebase.
What does version() call?
version() calls 3 function(s): getErrorOutput, getStandardOutput, invoke.

Analyze Your Own Codebase

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

Try Supermodel Free