getDefaultType() — spring-boot Function Reference
Architecture documentation for the getDefaultType() function in InitializrServiceMetadata.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD bd71820c_0a35_8004_8d6f_ced0a8e0c403["getDefaultType()"] 435d1f20_ecb7_fa3b_93d5_1f1926343335["getDefaultItem()"] bd71820c_0a35_8004_8d6f_ced0a8e0c403 -->|calls| 435d1f20_ecb7_fa3b_93d5_1f1926343335 be790795_521d_046e_fcd7_9a421fc6df28["getDefaults()"] bd71820c_0a35_8004_8d6f_ced0a8e0c403 -->|calls| be790795_521d_046e_fcd7_9a421fc6df28 b8f2ff6b_308a_b73a_6428_a5a640b32ac0["getContent()"] bd71820c_0a35_8004_8d6f_ced0a8e0c403 -->|calls| b8f2ff6b_308a_b73a_6428_a5a640b32ac0 23d19be6_c283_52f7_8076_c235fe5e7e22["get()"] bd71820c_0a35_8004_8d6f_ced0a8e0c403 -->|calls| 23d19be6_c283_52f7_8076_c235fe5e7e22 style bd71820c_0a35_8004_8d6f_ced0a8e0c403 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrServiceMetadata.java lines 111–120
@Nullable ProjectType getDefaultType() {
if (this.projectTypes.getDefaultItem() != null) {
return this.projectTypes.getDefaultItem();
}
String defaultTypeId = getDefaults().get("type");
if (defaultTypeId != null) {
return this.projectTypes.getContent().get(defaultTypeId);
}
return null;
}
Domain
Subdomains
Calls
- get()
- getContent()
- getDefaultItem()
- getDefaults()
Source
Frequently Asked Questions
What does getDefaultType() do?
getDefaultType() is a function in the spring-boot codebase.
What does getDefaultType() call?
getDefaultType() calls 4 function(s): get, getContent, getDefaultItem, getDefaults.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free