getBuildRequest() — spring-boot Function Reference
Architecture documentation for the getBuildRequest() function in BuildImageMojo.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 26305509_3728_0812_0fc8_fcde87cf00b0["getBuildRequest()"] 130ac764_001b_7641_5b3a_0a294ec5d92f["buildImage()"] 130ac764_001b_7641_5b3a_0a294ec5d92f -->|calls| 26305509_3728_0812_0fc8_fcde87cf00b0 9098092c_2844_b0de_2aa2_39fefc2fe85e["getArchiveFile()"] 26305509_3728_0812_0fc8_fcde87cf00b0 -->|calls| 9098092c_2844_b0de_2aa2_39fefc2fe85e 1472267d_b93d_6c93_8be4_e59f68e52dec["getBackupFile()"] 26305509_3728_0812_0fc8_fcde87cf00b0 -->|calls| 1472267d_b93d_6c93_8be4_e59f68e52dec 08a65e5d_1739_ff7b_7182_16ea09d216bd["getApplicationContent()"] 26305509_3728_0812_0fc8_fcde87cf00b0 -->|calls| 08a65e5d_1739_ff7b_7182_16ea09d216bd b50c6cb4_e34e_3fc0_c917_e9c757913400["customize()"] 26305509_3728_0812_0fc8_fcde87cf00b0 -->|calls| b50c6cb4_e34e_3fc0_c917_e9c757913400 style 26305509_3728_0812_0fc8_fcde87cf00b0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java lines 272–310
private BuildRequest getBuildRequest(Libraries libraries) {
ImagePackager imagePackager = new ImagePackager(getArchiveFile(), getBackupFile());
Function<Owner, TarArchive> content = (owner) -> getApplicationContent(owner, libraries, imagePackager);
Image image = (this.image != null) ? this.image : new Image();
if (image.name == null && this.imageName != null) {
image.setName(this.imageName);
}
if (image.builder == null && this.imageBuilder != null) {
image.setBuilder(this.imageBuilder);
}
if (image.trustBuilder == null && this.trustBuilder != null) {
image.setTrustBuilder(this.trustBuilder);
}
if (image.runImage == null && this.runImage != null) {
image.setRunImage(this.runImage);
}
if (image.cleanCache == null && this.cleanCache != null) {
image.setCleanCache(this.cleanCache);
}
if (image.pullPolicy == null && this.pullPolicy != null) {
image.setPullPolicy(this.pullPolicy);
}
if (image.publish == null && this.publish != null) {
image.setPublish(this.publish);
}
if (image.network == null && this.network != null) {
image.setNetwork(this.network);
}
if (image.createdDate == null && this.createdDate != null) {
image.setCreatedDate(this.createdDate);
}
if (image.applicationDirectory == null && this.applicationDirectory != null) {
image.setApplicationDirectory(this.applicationDirectory);
}
if (image.imagePlatform == null && this.imagePlatform != null) {
image.setImagePlatform(this.imagePlatform);
}
return customize(image.getBuildRequest(this.project.getArtifact(), content));
}
Domain
Subdomains
Calls
- customize()
- getApplicationContent()
- getArchiveFile()
- getBackupFile()
Called By
Source
Frequently Asked Questions
What does getBuildRequest() do?
getBuildRequest() is a function in the spring-boot codebase.
What does getBuildRequest() call?
getBuildRequest() calls 4 function(s): customize, getApplicationContent, getArchiveFile, getBackupFile.
What calls getBuildRequest()?
getBuildRequest() is called by 1 function(s): buildImage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free