Package | Description |
---|---|
org.springframework.boot.buildpack.platform.build |
Central API for performing a buildpack build.
|
Modifier and Type | Method and Description |
---|---|
static BuildRequest |
BuildRequest.forJarFile(File jarFile)
Factory method to create a new
BuildRequest from a JAR file. |
static BuildRequest |
BuildRequest.forJarFile(ImageReference name,
File jarFile)
Factory method to create a new
BuildRequest from a JAR file. |
static BuildRequest |
BuildRequest.of(ImageReference name,
Function<Owner,TarArchive> applicationContent)
Factory method to create a new
BuildRequest with specific content. |
BuildRequest |
BuildRequest.withBuilder(ImageReference builder)
Return a new
BuildRequest with an updated builder. |
BuildRequest |
BuildRequest.withCleanCache(boolean cleanCache)
Return a new
BuildRequest with an updated clean cache setting. |
BuildRequest |
BuildRequest.withCreator(Creator creator)
Return a new
BuildRequest with an updated creator. |
BuildRequest |
BuildRequest.withEnv(Map<String,String> env)
Return a new
BuildRequest with additional env variables. |
BuildRequest |
BuildRequest.withEnv(String name,
String value)
Return a new
BuildRequest with an additional env variable. |
BuildRequest |
BuildRequest.withPullPolicy(PullPolicy pullPolicy)
Return a new
BuildRequest with the updated image pull policy. |
BuildRequest |
BuildRequest.withRunImage(ImageReference runImageName)
Return a new
BuildRequest with an updated run image. |
BuildRequest |
BuildRequest.withVerboseLogging(boolean verboseLogging)
Return a new
BuildRequest with an updated verbose logging setting. |
Modifier and Type | Method and Description |
---|---|
void |
Builder.build(BuildRequest request) |
void |
AbstractBuildLog.executedLifecycle(BuildRequest request) |
void |
BuildLog.executedLifecycle(BuildRequest request)
Log that the lifecycle has executed.
|
void |
AbstractBuildLog.executingLifecycle(BuildRequest request,
org.springframework.boot.buildpack.platform.build.LifecycleVersion version,
VolumeName buildCacheVolume) |
void |
BuildLog.executingLifecycle(BuildRequest request,
org.springframework.boot.buildpack.platform.build.LifecycleVersion version,
VolumeName buildCacheVolume)
Log that the lifecycle is executing.
|
void |
AbstractBuildLog.pulledBuilder(BuildRequest request,
Image image)
Deprecated.
|
void |
BuildLog.pulledBuilder(BuildRequest request,
Image image)
Deprecated.
since 2.4.0 in favor of
BuildLog.pulledImage(Image, ImageType) |
void |
AbstractBuildLog.pulledRunImage(BuildRequest request,
Image image)
Deprecated.
|
void |
BuildLog.pulledRunImage(BuildRequest request,
Image image)
Deprecated.
since 2.4.0 in favor of
BuildLog.pulledImage(Image, ImageType) |
Consumer<TotalProgressEvent> |
AbstractBuildLog.pullingBuilder(BuildRequest request,
ImageReference imageReference)
Deprecated.
|
Consumer<TotalProgressEvent> |
BuildLog.pullingBuilder(BuildRequest request,
ImageReference imageReference)
Deprecated.
since 2.4.0 in favor of
BuildLog.pullingImage(ImageReference, ImageType) |
Consumer<TotalProgressEvent> |
AbstractBuildLog.pullingRunImage(BuildRequest request,
ImageReference imageReference)
Deprecated.
|
Consumer<TotalProgressEvent> |
BuildLog.pullingRunImage(BuildRequest request,
ImageReference imageReference)
Deprecated.
since 2.4.0 in favor of
BuildLog.pullingImage(ImageReference, ImageType) |
Consumer<LogUpdateEvent> |
AbstractBuildLog.runningPhase(BuildRequest request,
String name) |
Consumer<LogUpdateEvent> |
BuildLog.runningPhase(BuildRequest request,
String name)
Log that a specific phase is running.
|
void |
AbstractBuildLog.start(BuildRequest request) |
void |
BuildLog.start(BuildRequest request)
Log that a build is starting.
|