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

supports() — spring-boot Function Reference

Architecture documentation for the supports() function in ApiVersionTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  624eeec2_73d2_46c8_0916_fdfc4729f010["supports()"]
  c9d676cb_dd04_476f_37dc_2025a6f49021["supportsWhenSame()"]
  c9d676cb_dd04_476f_37dc_2025a6f49021 -->|calls| 624eeec2_73d2_46c8_0916_fdfc4729f010
  e01f163a_759e_c2a6_8e84_316cdd4294bb["supportsWhenDifferentMajor()"]
  e01f163a_759e_c2a6_8e84_316cdd4294bb -->|calls| 624eeec2_73d2_46c8_0916_fdfc4729f010
  ab40ce24_6d45_9a4c_17e3_20df3448065d["supportsWhenDifferentMinor()"]
  ab40ce24_6d45_9a4c_17e3_20df3448065d -->|calls| 624eeec2_73d2_46c8_0916_fdfc4729f010
  44b24e0d_03df_9cc6_b201_8d6a3c977b6c["supportsWhenMajorZeroAndDifferentMinor()"]
  44b24e0d_03df_9cc6_b201_8d6a3c977b6c -->|calls| 624eeec2_73d2_46c8_0916_fdfc4729f010
  style 624eeec2_73d2_46c8_0916_fdfc4729f010 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/ApiVersionTests.java lines 125–127

	private boolean supports(String v1, String v2) {
		return ApiVersion.parse(v1).supports(ApiVersion.parse(v2));
	}

Domain

Subdomains

Called By

  • supportsWhenDifferentMajor()
  • supportsWhenDifferentMinor()
  • supportsWhenMajorZeroAndDifferentMinor()
  • supportsWhenSame()

Frequently Asked Questions

What does supports() do?
supports() is a function in the spring-boot codebase.
What calls supports()?
supports() is called by 4 function(s): supportsWhenDifferentMajor, supportsWhenDifferentMinor, supportsWhenMajorZeroAndDifferentMinor, supportsWhenSame.

Analyze Your Own Codebase

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

Try Supermodel Free