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

hasEntryWithName() — spring-boot Function Reference

Architecture documentation for the hasEntryWithName() function in AbstractArchiveIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  e890f855_7998_7e22_8ed5_4597eeef0d56["hasEntryWithName()"]
  ab2d861f_92d2_7163_0173_c0e9c03020e7["withJarFile()"]
  e890f855_7998_7e22_8ed5_4597eeef0d56 -->|calls| ab2d861f_92d2_7163_0173_c0e9c03020e7
  24bafa22_417d_c0a7_6b2f_015e45086aa0["withEntries()"]
  e890f855_7998_7e22_8ed5_4597eeef0d56 -->|calls| 24bafa22_417d_c0a7_6b2f_015e45086aa0
  style e890f855_7998_7e22_8ed5_4597eeef0d56 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/intTest/java/org/springframework/boot/maven/AbstractArchiveIntegrationTests.java lines 133–141

		JarAssert hasEntryWithName(String name) {
			withJarFile((jarFile) -> {
				withEntries(jarFile, (entries) -> {
					Optional<JarEntry> match = entries.filter((entry) -> entry.getName().equals(name)).findFirst();
					assertThat(match).hasValueSatisfying((entry) -> assertThat(entry.getComment()).isNull());
				});
			});
			return this;
		}

Domain

Subdomains

Frequently Asked Questions

What does hasEntryWithName() do?
hasEntryWithName() is a function in the spring-boot codebase.
What does hasEntryWithName() call?
hasEntryWithName() calls 2 function(s): withEntries, withJarFile.

Analyze Your Own Codebase

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

Try Supermodel Free