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

setBuildAndFormat() — spring-boot Function Reference

Architecture documentation for the setBuildAndFormat() function in ProjectGenerationRequestTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  211f1ddb_47fe_2496_931f_eb2b05221c5c["setBuildAndFormat()"]
  47ef7e46_162f_3b4f_9bdb_4c221b254352["buildNoMatch()"]
  47ef7e46_162f_3b4f_9bdb_4c221b254352 -->|calls| 211f1ddb_47fe_2496_931f_eb2b05221c5c
  881d0ab6_96cf_5016_768f_6c11a1cd4c36["buildMultipleMatch()"]
  881d0ab6_96cf_5016_768f_6c11a1cd4c36 -->|calls| 211f1ddb_47fe_2496_931f_eb2b05221c5c
  b18cdda6_7827_adc5_fd59_09667dae3111["buildOneMatch()"]
  b18cdda6_7827_adc5_fd59_09667dae3111 -->|calls| 211f1ddb_47fe_2496_931f_eb2b05221c5c
  25263dd4_9aa3_2d38_832f_fe6ddccdee84["typeAndBuildAndFormat()"]
  25263dd4_9aa3_2d38_832f_fe6ddccdee84 -->|calls| 211f1ddb_47fe_2496_931f_eb2b05221c5c
  style 211f1ddb_47fe_2496_931f_eb2b05221c5c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/init/ProjectGenerationRequestTests.java lines 223–227

	void setBuildAndFormat(@Nullable String build, @Nullable String format) {
		this.request.setBuild((build != null) ? build : "maven");
		this.request.setFormat((format != null) ? format : "project");
		this.request.setDetectType(true);
	}

Domain

Subdomains

Frequently Asked Questions

What does setBuildAndFormat() do?
setBuildAndFormat() is a function in the spring-boot codebase.
What calls setBuildAndFormat()?
setBuildAndFormat() is called by 4 function(s): buildMultipleMatch, buildNoMatch, buildOneMatch, typeAndBuildAndFormat.

Analyze Your Own Codebase

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

Try Supermodel Free