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

supports() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  db10128b_eab7_94db_2bc3_096558fc2e26["supports()"]
  92601f35_6193_e811_83b2_750d0a430b83["supportsAny()"]
  92601f35_6193_e811_83b2_750d0a430b83 -->|calls| db10128b_eab7_94db_2bc3_096558fc2e26
  e6107580_6ef5_fa71_494c_c4f06ff3a3cb["equals()"]
  db10128b_eab7_94db_2bc3_096558fc2e26 -->|calls| e6107580_6ef5_fa71_494c_c4f06ff3a3cb
  style db10128b_eab7_94db_2bc3_096558fc2e26 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ApiVersion.java lines 73–81

	public boolean supports(ApiVersion other) {
		if (equals(other)) {
			return true;
		}
		if (this.major == 0 || this.major != other.major) {
			return false;
		}
		return this.minor >= other.minor;
	}

Subdomains

Calls

  • equals()

Called By

  • supportsAny()

Frequently Asked Questions

What does supports() do?
supports() is a function in the spring-boot codebase.
What does supports() call?
supports() calls 1 function(s): equals.
What calls supports()?
supports() is called by 1 function(s): supportsAny.

Analyze Your Own Codebase

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

Try Supermodel Free