| Constructor and Description |
|---|
AbstractBuildLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
executedLifecycle(BuildRequest request)
Log that the lifecycle has executed.
|
void |
executingLifecycle(BuildRequest request,
org.springframework.boot.buildpack.platform.build.LifecycleVersion version,
VolumeName buildCacheVolume)
Log that the lifecycle is executing.
|
protected abstract Consumer<TotalProgressEvent> |
getProgressConsumer(String message) |
protected void |
log() |
protected abstract void |
log(String message) |
void |
pulledBuilder(BuildRequest request,
Image image)
Deprecated.
|
void |
pulledImage(Image image,
org.springframework.boot.buildpack.platform.build.ImageType imageType)
Log that an image has been pulled.
|
void |
pulledRunImage(BuildRequest request,
Image image)
Deprecated.
|
Consumer<TotalProgressEvent> |
pullingBuilder(BuildRequest request,
ImageReference imageReference)
Deprecated.
|
Consumer<TotalProgressEvent> |
pullingImage(ImageReference imageReference,
org.springframework.boot.buildpack.platform.build.ImageType imageType)
Log that an image is being pulled.
|
Consumer<TotalProgressEvent> |
pullingRunImage(BuildRequest request,
ImageReference imageReference)
Deprecated.
|
Consumer<LogUpdateEvent> |
runningPhase(BuildRequest request,
String name)
Log that a specific phase is running.
|
void |
skippingPhase(String name,
String reason)
Log that a specific phase is being skipped.
|
void |
start(BuildRequest request)
Log that a build is starting.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitto, toSystemOutpublic void start(BuildRequest request)
BuildLog@Deprecated public Consumer<TotalProgressEvent> pullingBuilder(BuildRequest request, ImageReference imageReference)
BuildLogpullingBuilder in interface BuildLogrequest - the build requestimageReference - the builder image reference@Deprecated public void pulledBuilder(BuildRequest request, Image image)
BuildLogpulledBuilder in interface BuildLogrequest - the build requestimage - the builder image that was pulled@Deprecated public Consumer<TotalProgressEvent> pullingRunImage(BuildRequest request, ImageReference imageReference)
BuildLogpullingRunImage in interface BuildLogrequest - the build requestimageReference - the run image reference@Deprecated public void pulledRunImage(BuildRequest request, Image image)
BuildLogpulledRunImage in interface BuildLogrequest - the build requestimage - the run image that was pulledpublic Consumer<TotalProgressEvent> pullingImage(ImageReference imageReference, org.springframework.boot.buildpack.platform.build.ImageType imageType)
BuildLogpullingImage in interface BuildLogimageReference - the image referenceimageType - the image typepublic void pulledImage(Image image, org.springframework.boot.buildpack.platform.build.ImageType imageType)
BuildLogpulledImage in interface BuildLogimage - the builder image that was pulledimageType - the image type that was pulledpublic void executingLifecycle(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, VolumeName buildCacheVolume)
BuildLogexecutingLifecycle in interface BuildLogrequest - the build requestversion - the lifecycle versionbuildCacheVolume - the name of the build cache volume in usepublic Consumer<LogUpdateEvent> runningPhase(BuildRequest request, String name)
BuildLogrunningPhase in interface BuildLogrequest - the build requestname - the name of the phasepublic void skippingPhase(String name, String reason)
BuildLogskippingPhase in interface BuildLogname - the name of the phasereason - the reason the phase is skippedpublic void executedLifecycle(BuildRequest request)
BuildLogexecutedLifecycle in interface BuildLogrequest - the build requestprotected void log()
protected abstract void log(String message)
protected abstract Consumer<TotalProgressEvent> getProgressConsumer(String message)