public class Image
extends java.lang.Object
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBuilder()
The name of the builder image to use to create the image.
|
java.lang.Boolean |
getCleanCache()
If the cache should be cleaned before building.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnv()
Environment properties that should be passed to the builder.
|
java.lang.String |
getName()
The name of the created image.
|
java.lang.String |
getNetwork()
Returns the network the build container will connect to.
|
java.lang.Boolean |
getPublish()
If the built image should be pushed to a registry.
|
org.springframework.boot.buildpack.platform.build.PullPolicy |
getPullPolicy()
If images should be pulled from a remote repository during image build.
|
java.lang.String |
getRunImage()
The name of the run image to use to create the image.
|
boolean |
isVerboseLogging()
If verbose logging is required.
|
void |
setNetwork(java.lang.String network) |
public java.lang.String getName()
public java.lang.String getBuilder()
public java.lang.String getRunImage()
public java.util.Map<java.lang.String,java.lang.String> getEnv()
public java.lang.Boolean getCleanCache()
true
if the cache should be cleanedpublic boolean isVerboseLogging()
true
for verbose loggingpublic org.springframework.boot.buildpack.platform.build.PullPolicy getPullPolicy()
public java.lang.Boolean getPublish()
true
if the image should be publishedpublic java.lang.String getNetwork()
public void setNetwork(java.lang.String network)