类 AbstractBuildLog
java.lang.Object
org.springframework.boot.buildpack.platform.build.AbstractBuildLog
- 所有已实现的接口:
BuildLog
Base class for
BuildLog
implementations.- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb, Scott Frederick, Andrey Shlykov, Rafael Ceccone
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
executedLifecycle
(BuildRequest request) Log that the lifecycle has executed.void
executingLifecycle
(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, Cache buildCache) Log that the lifecycle is executing.void
executingLifecycle
(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, VolumeName buildCacheVolume) Log that the lifecycle is executing.void
failedCleaningWorkDir
(Cache cache, Exception exception) Log that a cache cleanup step was not completed successfully.protected abstract Consumer
<TotalProgressEvent> getProgressConsumer
(String message) protected void
log()
protected abstract void
void
pulledImage
(Image image, org.springframework.boot.buildpack.platform.build.ImageType imageType) Log that an image has been pulled.pullingImage
(ImageReference imageReference, ImagePlatform platform, org.springframework.boot.buildpack.platform.build.ImageType imageType) Log that an image is being pulled.void
pushedImage
(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.void
sensitiveTargetBindingDetected
(Binding binding) Log that a binding with a sensitive target has been detected.void
skippingPhase
(String name, String reason) Log that a specific phase is being skipped.void
start
(BuildRequest request) Log that a build is starting.void
Log that a tag has been created.
-
构造器详细资料
-
AbstractBuildLog
public AbstractBuildLog()
-
-
方法详细资料
-
start
从接口复制的说明:BuildLog
Log that a build is starting. -
pullingImage
public Consumer<TotalProgressEvent> pullingImage(ImageReference imageReference, ImagePlatform platform, org.springframework.boot.buildpack.platform.build.ImageType imageType) 从接口复制的说明:BuildLog
Log that an image is being pulled.- 指定者:
pullingImage
在接口中BuildLog
- 参数:
imageReference
- the image referenceplatform
- the platform of the imageimageType
- the image type- 返回:
- a consumer for progress update events
-
pulledImage
public void pulledImage(Image image, org.springframework.boot.buildpack.platform.build.ImageType imageType) 从接口复制的说明:BuildLog
Log that an image has been pulled.- 指定者:
pulledImage
在接口中BuildLog
- 参数:
image
- the image that was pulledimageType
- the image type that was pulled
-
pushingImage
从接口复制的说明:BuildLog
Log that an image is being pushed.- 指定者:
pushingImage
在接口中BuildLog
- 参数:
imageReference
- the image reference- 返回:
- a consumer for progress update events
-
pushedImage
从接口复制的说明:BuildLog
Log that an image has been pushed.- 指定者:
pushedImage
在接口中BuildLog
- 参数:
imageReference
- the image reference
-
executingLifecycle
public void executingLifecycle(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, VolumeName buildCacheVolume) 从接口复制的说明:BuildLog
Log that the lifecycle is executing.- 指定者:
executingLifecycle
在接口中BuildLog
- 参数:
request
- the build requestversion
- the lifecycle versionbuildCacheVolume
- the name of the build cache volume in use
-
executingLifecycle
public void executingLifecycle(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, Cache buildCache) 从接口复制的说明:BuildLog
Log that the lifecycle is executing.- 指定者:
executingLifecycle
在接口中BuildLog
- 参数:
request
- the build requestversion
- the lifecycle versionbuildCache
- the build cache in use
-
runningPhase
从接口复制的说明:BuildLog
Log that a specific phase is running.- 指定者:
runningPhase
在接口中BuildLog
- 参数:
request
- the build requestname
- the name of the phase- 返回:
- a consumer for log updates
-
skippingPhase
从接口复制的说明:BuildLog
Log that a specific phase is being skipped.- 指定者:
skippingPhase
在接口中BuildLog
- 参数:
name
- the name of the phasereason
- the reason the phase is skipped
-
executedLifecycle
从接口复制的说明:BuildLog
Log that the lifecycle has executed.- 指定者:
executedLifecycle
在接口中BuildLog
- 参数:
request
- the build request
-
taggedImage
从接口复制的说明:BuildLog
Log that a tag has been created.- 指定者:
taggedImage
在接口中BuildLog
- 参数:
tag
- the tag reference
-
failedCleaningWorkDir
从接口复制的说明:BuildLog
Log that a cache cleanup step was not completed successfully.- 指定者:
failedCleaningWorkDir
在接口中BuildLog
- 参数:
cache
- the cacheexception
- any exception that caused the failure
-
sensitiveTargetBindingDetected
从接口复制的说明:BuildLog
Log that a binding with a sensitive target has been detected.- 指定者:
sensitiveTargetBindingDetected
在接口中BuildLog
- 参数:
binding
- the binding
-
log
protected void log() -
log
-
getProgressConsumer
-