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

unpackCommentIsAddedToEntryIdentifiedByAPattern() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2cd86f53_a1c9_87bb_842d_3e5f4f935b07["unpackCommentIsAddedToEntryIdentifiedByAPattern()"]
  75b14524_6474_4bf9_dd04_f0e5f1303105["jarFile()"]
  2cd86f53_a1c9_87bb_842d_3e5f4f935b07 -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105
  6735338a_2770_d6bf_59a2_0a9fa6f0b3fc["executeTask()"]
  2cd86f53_a1c9_87bb_842d_3e5f4f935b07 -->|calls| 6735338a_2770_d6bf_59a2_0a9fa6f0b3fc
  style 2cd86f53_a1c9_87bb_842d_3e5f4f935b07 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 282–292

	@Test
	void unpackCommentIsAddedToEntryIdentifiedByAPattern() throws IOException {
		this.task.getMainClass().set("com.example.Main");
		this.task.classpath(jarFile("one.jar"), jarFile("two.jar"));
		this.task.requiresUnpack("**/one.jar");
		executeTask();
		try (JarFile jarFile = new JarFile(this.task.getArchiveFile().get().getAsFile())) {
			assertThat(jarFile.getEntry(this.libPath + "one.jar").getComment()).isEqualTo("UNPACK");
			assertThat(jarFile.getEntry(this.libPath + "two.jar").getComment()).isNull();
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does unpackCommentIsAddedToEntryIdentifiedByAPattern() do?
unpackCommentIsAddedToEntryIdentifiedByAPattern() is a function in the spring-boot codebase.
What does unpackCommentIsAddedToEntryIdentifiedByAPattern() call?
unpackCommentIsAddedToEntryIdentifiedByAPattern() 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