customize() — spring-boot Function Reference
Architecture documentation for the customize() function in Image.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e75c7b8d_0140_ea26_6b52_e82ab18f2562["customize()"] 9a5d8463_7ccc_92fb_b27a_b63e59c123b1["getBuildRequest()"] 9a5d8463_7ccc_92fb_b27a_b63e59c123b1 -->|calls| e75c7b8d_0140_ea26_6b52_e82ab18f2562 8bb4302a_4170_a9a4_61f5_3416246a0165["of()"] e75c7b8d_0140_ea26_6b52_e82ab18f2562 -->|calls| 8bb4302a_4170_a9a4_61f5_3416246a0165 style e75c7b8d_0140_ea26_6b52_e82ab18f2562 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Image.java lines 253–314
private BuildRequest customize(BuildRequest request) {
if (StringUtils.hasText(this.builder)) {
request = request.withBuilder(ImageReference.of(this.builder));
}
if (this.trustBuilder != null) {
request = request.withTrustBuilder(this.trustBuilder);
}
if (StringUtils.hasText(this.runImage)) {
request = request.withRunImage(ImageReference.of(this.runImage));
}
if (!CollectionUtils.isEmpty(this.env)) {
request = request.withEnv(this.env);
}
if (this.cleanCache != null) {
request = request.withCleanCache(this.cleanCache);
}
request = request.withVerboseLogging(this.verboseLogging);
if (this.pullPolicy != null) {
request = request.withPullPolicy(this.pullPolicy);
}
if (this.publish != null) {
request = request.withPublish(this.publish);
}
if (!CollectionUtils.isEmpty(this.buildpacks)) {
request = request.withBuildpacks(this.buildpacks.stream().map(BuildpackReference::of).toList());
}
if (!CollectionUtils.isEmpty(this.bindings)) {
request = request.withBindings(this.bindings.stream().map(Binding::of).toList());
}
request = request.withNetwork(this.network);
if (!CollectionUtils.isEmpty(this.tags)) {
request = request.withTags(this.tags.stream().map(ImageReference::of).toList());
}
if (this.buildWorkspace != null) {
Cache cache = this.buildWorkspace.asCache();
Assert.state(cache != null, "'cache' must not be null");
request = request.withBuildWorkspace(cache);
}
if (this.buildCache != null) {
Cache cache = this.buildCache.asCache();
Assert.state(cache != null, "'cache' must not be null");
request = request.withBuildCache(cache);
}
if (this.launchCache != null) {
Cache cache = this.launchCache.asCache();
Assert.state(cache != null, "'cache' must not be null");
request = request.withLaunchCache(cache);
}
if (StringUtils.hasText(this.createdDate)) {
request = request.withCreatedDate(this.createdDate);
}
if (StringUtils.hasText(this.applicationDirectory)) {
request = request.withApplicationDirectory(this.applicationDirectory);
}
if (this.securityOptions != null) {
request = request.withSecurityOptions(this.securityOptions);
}
if (StringUtils.hasText(this.imagePlatform)) {
request = request.withImagePlatform(this.imagePlatform);
}
return request;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does customize() do?
customize() is a function in the spring-boot codebase.
What does customize() call?
customize() calls 1 function(s): of.
What calls customize()?
customize() is called by 1 function(s): getBuildRequest.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free