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

onLinux() — spring-boot Function Reference

Architecture documentation for the onLinux() function in ClassPathTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  8c50a536_1746_e080_c2e6_fc3a5af74b96["onLinux()"]
  7f3ff717_34a6_c56e_21af_0102af766d5d["argsWhenSingleUrlNotOnWindowsUsesPath()"]
  7f3ff717_34a6_c56e_21af_0102af766d5d -->|calls| 8c50a536_1746_e080_c2e6_fc3a5af74b96
  e1315ff6_a47d_ffbd_165e_a5420761e519["argsWhenMultipleUrlsNotOnWindowsUsesPath()"]
  e1315ff6_a47d_ffbd_165e_a5420761e519 -->|calls| 8c50a536_1746_e080_c2e6_fc3a5af74b96
  c2c51038_3bf5_5fa3_bf46_2e537cef81b1["toStringShouldReturnClassPath()"]
  c2c51038_3bf5_5fa3_bf46_2e537cef81b1 -->|calls| 8c50a536_1746_e080_c2e6_fc3a5af74b96
  style 8c50a536_1746_e080_c2e6_fc3a5af74b96 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/ClassPathTests.java lines 101–103

	private UnaryOperator<@Nullable String> onLinux() {
		return Map.of("os.name", "linux")::get;
	}

Domain

Subdomains

Called By

  • argsWhenMultipleUrlsNotOnWindowsUsesPath()
  • argsWhenSingleUrlNotOnWindowsUsesPath()
  • toStringShouldReturnClassPath()

Frequently Asked Questions

What does onLinux() do?
onLinux() is a function in the spring-boot codebase.
What calls onLinux()?
onLinux() is called by 3 function(s): argsWhenMultipleUrlsNotOnWindowsUsesPath, argsWhenSingleUrlNotOnWindowsUsesPath, toStringShouldReturnClassPath.

Analyze Your Own Codebase

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

Try Supermodel Free