Class AbstractBuildLog
java.lang.Object
org.springframework.boot.buildpack.platform.build.AbstractBuildLog
- All Implemented Interfaces:
 BuildLog
Base class for 
BuildLog implementations.- Since:
 - 2.3.0
 - Author:
 - Phillip Webb, Scott Frederick, Andrey Shlykov, Rafael Ceccone
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidexecutedLifecycle(BuildRequest request) Log that the lifecycle has executed.voidexecutingLifecycle(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 voidlog()protected abstract voidvoidpulledImage(Image image, org.springframework.boot.buildpack.platform.build.ImageType imageType) Log that an image has been pulled.pullingImage(ImageReference imageReference, org.springframework.boot.buildpack.platform.build.ImageType imageType) Log that an image is being pulled.voidpushedImage(ImageReference imageReference) Log that an image has been pushed.pushingImage(ImageReference imageReference) Log that an image is being pushed.runningPhase(BuildRequest request, String name) Log that a specific phase is running.voidskippingPhase(String name, String reason) Log that a specific phase is being skipped.voidstart(BuildRequest request) Log that a build is starting.voidLog that a tag has been created. 
- 
Constructor Details
- 
AbstractBuildLog
public AbstractBuildLog() 
 - 
 - 
Method Details
- 
start
Description copied from interface:BuildLogLog that a build is starting. - 
pullingImage
public Consumer<TotalProgressEvent> pullingImage(ImageReference imageReference, org.springframework.boot.buildpack.platform.build.ImageType imageType) Description copied from interface:BuildLogLog that an image is being pulled.- Specified by:
 pullingImagein interfaceBuildLog- Parameters:
 imageReference- the image referenceimageType- the image type- Returns:
 - a consumer for progress update events
 
 - 
pulledImage
public void pulledImage(Image image, org.springframework.boot.buildpack.platform.build.ImageType imageType) Description copied from interface:BuildLogLog that an image has been pulled.- Specified by:
 pulledImagein interfaceBuildLog- Parameters:
 image- the image that was pulledimageType- the image type that was pulled
 - 
pushingImage
Description copied from interface:BuildLogLog that an image is being pushed.- Specified by:
 pushingImagein interfaceBuildLog- Parameters:
 imageReference- the image reference- Returns:
 - a consumer for progress update events
 
 - 
pushedImage
Description copied from interface:BuildLogLog that an image has been pushed.- Specified by:
 pushedImagein interfaceBuildLog- Parameters:
 imageReference- the image reference
 - 
executingLifecycle
public void executingLifecycle(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, VolumeName buildCacheVolume) Description copied from interface:BuildLogLog that the lifecycle is executing.- Specified by:
 executingLifecyclein interfaceBuildLog- Parameters:
 request- the build requestversion- the lifecycle versionbuildCacheVolume- the name of the build cache volume in use
 - 
runningPhase
Description copied from interface:BuildLogLog that a specific phase is running.- Specified by:
 runningPhasein interfaceBuildLog- Parameters:
 request- the build requestname- the name of the phase- Returns:
 - a consumer for log updates
 
 - 
skippingPhase
Description copied from interface:BuildLogLog that a specific phase is being skipped.- Specified by:
 skippingPhasein interfaceBuildLog- Parameters:
 name- the name of the phasereason- the reason the phase is skipped
 - 
executedLifecycle
Description copied from interface:BuildLogLog that the lifecycle has executed.- Specified by:
 executedLifecyclein interfaceBuildLog- Parameters:
 request- the build request
 - 
taggedImage
Description copied from interface:BuildLogLog that a tag has been created.- Specified by:
 taggedImagein interfaceBuildLog- Parameters:
 tag- the tag reference
 - 
log
protected void log() - 
log
 - 
getProgressConsumer
 
 -