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

classpathCanBeSetUsingAnObject() — spring-boot Function Reference

Architecture documentation for the classpathCanBeSetUsingAnObject() function in AbstractBootArchiveTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  9770503a_b727_ab3e_a50c_22a132922cf4["classpathCanBeSetUsingAnObject()"]
  75b14524_6474_4bf9_dd04_f0e5f1303105["jarFile()"]
  9770503a_b727_ab3e_a50c_22a132922cf4 -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105
  6735338a_2770_d6bf_59a2_0a9fa6f0b3fc["executeTask()"]
  9770503a_b727_ab3e_a50c_22a132922cf4 -->|calls| 6735338a_2770_d6bf_59a2_0a9fa6f0b3fc
  style 9770503a_b727_ab3e_a50c_22a132922cf4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/AbstractBootArchiveTests.java lines 229–239

	@Test
	void classpathCanBeSetUsingAnObject() throws IOException {
		this.task.getMainClass().set("com.example.Main");
		this.task.classpath(jarFile("one.jar"));
		this.task.setClasspath(jarFile("two.jar"));
		executeTask();
		try (JarFile jarFile = new JarFile(this.task.getArchiveFile().get().getAsFile())) {
			assertThat(jarFile.getEntry(this.libPath + "one.jar")).isNull();
			assertThat(jarFile.getEntry(this.libPath + "two.jar")).isNotNull();
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does classpathCanBeSetUsingAnObject() do?
classpathCanBeSetUsingAnObject() is a function in the spring-boot codebase.
What does classpathCanBeSetUsingAnObject() call?
classpathCanBeSetUsingAnObject() calls 2 function(s): executeTask, jarFile.

Analyze Your Own Codebase

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

Try Supermodel Free