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

reportAvailableProjectTypes() — spring-boot Function Reference

Architecture documentation for the reportAvailableProjectTypes() function in ServiceCapabilitiesReportGenerator.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  402a4a4d_a0a6_f575_29e6_1518cde9682a["reportAvailableProjectTypes()"]
  25693888_c84b_4f47_093b_7c36a63574ff["generateHelp()"]
  25693888_c84b_4f47_093b_7c36a63574ff -->|calls| 402a4a4d_a0a6_f575_29e6_1518cde9682a
  124fe9a4_3e03_f37d_68f0_360e1a3c5929["reportTags()"]
  402a4a4d_a0a6_f575_29e6_1518cde9682a -->|calls| 124fe9a4_3e03_f37d_68f0_360e1a3c5929
  style 402a4a4d_a0a6_f575_29e6_1518cde9682a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ServiceCapabilitiesReportGenerator.java lines 99–115

	private void reportAvailableProjectTypes(InitializrServiceMetadata metadata, StringBuilder report) {
		report.append("Available project types:").append(NEW_LINE);
		report.append("------------------------").append(NEW_LINE);
		SortedSet<Entry<String, ProjectType>> entries = new TreeSet<>(Entry.comparingByKey());
		entries.addAll(metadata.getProjectTypes().entrySet());
		for (Entry<String, ProjectType> entry : entries) {
			ProjectType type = entry.getValue();
			report.append(entry.getKey()).append(" -  ").append(type.getName());
			if (!type.getTags().isEmpty()) {
				reportTags(report, type);
			}
			if (type.isDefaultType()) {
				report.append(" (default)");
			}
			report.append(NEW_LINE);
		}
	}

Domain

Subdomains

Calls

  • reportTags()

Called By

Frequently Asked Questions

What does reportAvailableProjectTypes() do?
reportAvailableProjectTypes() is a function in the spring-boot codebase.
What does reportAvailableProjectTypes() call?
reportAvailableProjectTypes() calls 1 function(s): reportTags.
What calls reportAvailableProjectTypes()?
reportAvailableProjectTypes() is called by 1 function(s): generateHelp.

Analyze Your Own Codebase

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

Try Supermodel Free