projectGenerationOptions() — spring-boot Function Reference
Architecture documentation for the projectGenerationOptions() function in InitCommand.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 55419ff0_2fcb_6187_130c_98c9ed1030fc["projectGenerationOptions()"] b9fe694a_da5c_60aa_7939_a1189b910328["options()"] b9fe694a_da5c_60aa_7939_a1189b910328 -->|calls| 55419ff0_2fcb_6187_130c_98c9ed1030fc a6dc86e5_eff8_52b5_97cf_7be58ac8b305["option()"] 55419ff0_2fcb_6187_130c_98c9ed1030fc -->|calls| a6dc86e5_eff8_52b5_97cf_7be58ac8b305 style 55419ff0_2fcb_6187_130c_98c9ed1030fc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java lines 168–201
private void projectGenerationOptions() {
this.groupId = option(Arrays.asList("group-id", "g"), "Project coordinates (for example 'org.test')")
.withRequiredArg();
this.artifactId = option(Arrays.asList("artifact-id", "a"),
"Project coordinates; infer archive name (for example 'test')")
.withRequiredArg();
this.version = option(Arrays.asList("version", "v"), "Project version (for example '0.0.1-SNAPSHOT')")
.withRequiredArg();
this.name = option(Arrays.asList("name", "n"), "Project name; infer application name").withRequiredArg();
this.description = option("description", "Project description").withRequiredArg();
this.packageName = option(Arrays.asList("package-name"), "Package name").withRequiredArg();
this.type = option(Arrays.asList("type", "t"),
"Project type. Not normally needed if you use --build "
+ "and/or --format. Check the capabilities of the service (--list) for more details")
.withRequiredArg();
this.packaging = option(Arrays.asList("packaging", "p"), "Project packaging (for example 'jar')")
.withRequiredArg();
this.build = option("build", "Build system to use (for example 'maven' or 'gradle')").withRequiredArg()
.defaultsTo("gradle");
this.format = option("format", "Format of the generated content (for example 'build' for a build file, "
+ "'project' for a project archive)")
.withRequiredArg()
.defaultsTo("project");
this.javaVersion = option(Arrays.asList("java-version", "j"), "Language level (for example '1.8')")
.withRequiredArg();
this.language = option(Arrays.asList("language", "l"), "Programming language (for example 'java')")
.withRequiredArg();
this.bootVersion = option(Arrays.asList("boot-version", "b"),
"Spring Boot version (for example '1.2.0.RELEASE')")
.withRequiredArg();
this.dependencies = option(Arrays.asList("dependencies", "d"),
"Comma-separated list of dependency identifiers to include in the generated project")
.withRequiredArg();
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does projectGenerationOptions() do?
projectGenerationOptions() is a function in the spring-boot codebase.
What does projectGenerationOptions() call?
projectGenerationOptions() calls 1 function(s): option.
What calls projectGenerationOptions()?
projectGenerationOptions() is called by 1 function(s): options.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free