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

typeAndBuildAndFormat() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  25263dd4_9aa3_2d38_832f_fe6ddccdee84["typeAndBuildAndFormat()"]
  6dc7d335_af34_8383_8576_ba6ff062f3e0["readMetadata()"]
  25263dd4_9aa3_2d38_832f_fe6ddccdee84 -->|calls| 6dc7d335_af34_8383_8576_ba6ff062f3e0
  211f1ddb_47fe_2496_931f_eb2b05221c5c["setBuildAndFormat()"]
  25263dd4_9aa3_2d38_832f_fe6ddccdee84 -->|calls| 211f1ddb_47fe_2496_931f_eb2b05221c5c
  f13f518d_ff86_14a1_fce1_9ee408c8232a["createUrl()"]
  25263dd4_9aa3_2d38_832f_fe6ddccdee84 -->|calls| f13f518d_ff86_14a1_fce1_9ee408c8232a
  style 25263dd4_9aa3_2d38_832f_fe6ddccdee84 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 188–194

	@Test
	void typeAndBuildAndFormat() throws Exception {
		InitializrServiceMetadata metadata = readMetadata();
		setBuildAndFormat("gradle", "project");
		this.request.setType("maven-build");
		assertThat(this.request.generateUrl(metadata)).isEqualTo(createUrl("/pom.xml?type=maven-build"));
	}

Domain

Subdomains

Frequently Asked Questions

What does typeAndBuildAndFormat() do?
typeAndBuildAndFormat() is a function in the spring-boot codebase.
What does typeAndBuildAndFormat() call?
typeAndBuildAndFormat() calls 3 function(s): createUrl, readMetadata, setBuildAndFormat.

Analyze Your Own Codebase

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

Try Supermodel Free