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

shouldExtract() — spring-boot Function Reference

Architecture documentation for the shouldExtract() function in ProjectGenerator.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  c1199054_9d68_aebe_596b_101b4ef553fa["shouldExtract()"]
  e0179de4_bf5b_0060_a460_319095eca217["generateProject()"]
  e0179de4_bf5b_0060_a460_319095eca217 -->|calls| c1199054_9d68_aebe_596b_101b4ef553fa
  020a2c63_4625_558c_773f_1caf07c35c30["isZipArchive()"]
  c1199054_9d68_aebe_596b_101b4ef553fa -->|calls| 020a2c63_4625_558c_773f_1caf07c35c30
  style c1199054_9d68_aebe_596b_101b4ef553fa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerator.java lines 75–81

	private boolean shouldExtract(ProjectGenerationRequest request, ProjectGenerationResponse response) {
		if (request.isExtract()) {
			return true;
		}
		// explicit name hasn't been provided for an archive and there is no extension
		return isZipArchive(response) && request.getOutput() != null && !request.getOutput().contains(".");
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does shouldExtract() do?
shouldExtract() is a function in the spring-boot codebase.
What does shouldExtract() call?
shouldExtract() calls 1 function(s): isZipArchive.
What calls shouldExtract()?
shouldExtract() is called by 1 function(s): generateProject.

Analyze Your Own Codebase

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

Try Supermodel Free