类 AbstractBuildLog

java.lang.Object
cn.taketoday.buildpack.platform.build.AbstractBuildLog
所有已实现的接口:
BuildLog
直接已知子类:
PrintStreamBuildLog

public abstract class AbstractBuildLog extends Object implements BuildLog
Base class for BuildLog implementations.
从以下版本开始:
4.0
作者:
Phillip Webb, Scott Frederick, Andrey Shlykov, Rafael Ceccone, Harry Yang
  • 构造器详细资料

    • AbstractBuildLog

      public AbstractBuildLog()
  • 方法详细资料

    • start

      public void start(BuildRequest request)
      从接口复制的说明: BuildLog
      Log that a build is starting.
      指定者:
      start 在接口中 BuildLog
      参数:
      request - the build request
    • pullingImage

      public Consumer<TotalProgressEvent> pullingImage(ImageReference imageReference, ImageType imageType)
      从接口复制的说明: BuildLog
      Log that an image is being pulled.
      指定者:
      pullingImage 在接口中 BuildLog
      参数:
      imageReference - the image reference
      imageType - the image type
      返回:
      a consumer for progress update events
    • pulledImage

      public void pulledImage(Image image, ImageType imageType)
      从接口复制的说明: BuildLog
      Log that an image has been pulled.
      指定者:
      pulledImage 在接口中 BuildLog
      参数:
      image - the image that was pulled
      imageType - the image type that was pulled
    • pushingImage

      public Consumer<TotalProgressEvent> pushingImage(ImageReference imageReference)
      从接口复制的说明: BuildLog
      Log that an image is being pushed.
      指定者:
      pushingImage 在接口中 BuildLog
      参数:
      imageReference - the image reference
      返回:
      a consumer for progress update events
    • pushedImage

      public void pushedImage(ImageReference imageReference)
      从接口复制的说明: BuildLog
      Log that an image has been pushed.
      指定者:
      pushedImage 在接口中 BuildLog
      参数:
      imageReference - the image reference
    • executingLifecycle

      public void executingLifecycle(BuildRequest request, LifecycleVersion version, VolumeName buildCacheVolume)
      从接口复制的说明: BuildLog
      Log that the lifecycle is executing.
      指定者:
      executingLifecycle 在接口中 BuildLog
      参数:
      request - the build request
      version - the lifecycle version
      buildCacheVolume - the name of the build cache volume in use
    • executingLifecycle

      public void executingLifecycle(BuildRequest request, LifecycleVersion version, Cache buildCache)
      从接口复制的说明: BuildLog
      Log that the lifecycle is executing.
      指定者:
      executingLifecycle 在接口中 BuildLog
      参数:
      request - the build request
      version - the lifecycle version
      buildCache - the build cache in use
    • runningPhase

      public Consumer<LogUpdateEvent> runningPhase(BuildRequest request, String name)
      从接口复制的说明: BuildLog
      Log that a specific phase is running.
      指定者:
      runningPhase 在接口中 BuildLog
      参数:
      request - the build request
      name - the name of the phase
      返回:
      a consumer for log updates
    • skippingPhase

      public void skippingPhase(String name, String reason)
      从接口复制的说明: BuildLog
      Log that a specific phase is being skipped.
      指定者:
      skippingPhase 在接口中 BuildLog
      参数:
      name - the name of the phase
      reason - the reason the phase is skipped
    • executedLifecycle

      public void executedLifecycle(BuildRequest request)
      从接口复制的说明: BuildLog
      Log that the lifecycle has executed.
      指定者:
      executedLifecycle 在接口中 BuildLog
      参数:
      request - the build request
    • taggedImage

      public void taggedImage(ImageReference tag)
      从接口复制的说明: BuildLog
      Log that a tag has been created.
      指定者:
      taggedImage 在接口中 BuildLog
      参数:
      tag - the tag reference
    • getDigest

      private String getDigest(Image image)
    • log

      protected void log()
    • log

      protected abstract void log(String message)
    • getProgressConsumer

      protected abstract Consumer<TotalProgressEvent> getProgressConsumer(String message)