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

set() — spring-boot Function Reference

Architecture documentation for the set() function in FilterableDependency.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  31452538_349a_4f5c_1286_0c931ae9f596["set()"]
  39c7aa28_886e_9758_56af_f222cd9e205e["setGroupId()"]
  31452538_349a_4f5c_1286_0c931ae9f596 -->|calls| 39c7aa28_886e_9758_56af_f222cd9e205e
  fb7e495d_b628_c799_2fdf_2dc7da00160a["setArtifactId()"]
  31452538_349a_4f5c_1286_0c931ae9f596 -->|calls| fb7e495d_b628_c799_2fdf_2dc7da00160a
  e0ac00e9_59dc_9e1f_68d5_890f8ff6da65["setClassifier()"]
  31452538_349a_4f5c_1286_0c931ae9f596 -->|calls| e0ac00e9_59dc_9e1f_68d5_890f8ff6da65
  style 31452538_349a_4f5c_1286_0c931ae9f596 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/FilterableDependency.java lines 82–91

	public void set(String property) {
		String[] parts = property.split(":");
		Assert.isTrue(parts.length == 2 || parts.length == 3, getClass().getSimpleName()
				+ " 'property' must be in the form groupId:artifactId or groupId:artifactId:classifier");
		setGroupId(parts[0]);
		setArtifactId(parts[1]);
		if (parts.length == 3) {
			setClassifier(parts[2]);
		}
	}

Domain

Subdomains

Calls

  • setArtifactId()
  • setClassifier()
  • setGroupId()

Frequently Asked Questions

What does set() do?
set() is a function in the spring-boot codebase.
What does set() call?
set() calls 3 function(s): setArtifactId, setClassifier, setGroupId.

Analyze Your Own Codebase

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

Try Supermodel Free