インターフェース BuildLog

すべての既知の実装クラス:
AbstractBuildLog

public interface BuildLog
Builder 出力ロギングを提供するために使用されるコールバックインターフェース。
導入:
2.3.0
作成者:
Phillip Webb, Scott Frederick, Andrey Shlykov, Rafael Ceccone
関連事項:
  • メソッドの詳細

    • start

      void start(BuildRequest request)
      ビルドが開始されたことをログに記録します。
      パラメーター:
      request - ビルドリクエスト
    • pullingImage

      ConsumerSE<TotalProgressEvent> pullingImage(ImageReference imageReference, @Nullable ImagePlatform platform, org.springframework.boot.buildpack.platform.build.ImageType imageType)
      イメージがプルされていることをログに記録します。
      パラメーター:
      imageReference - イメージ参照
      platform - イメージのプラットフォーム
      imageType - イメージ型
      戻り値:
      進行状況更新イベントのコンシューマー
    • pulledImage

      void pulledImage(Image image, org.springframework.boot.buildpack.platform.build.ImageType imageType)
      イメージがプルされたことをログに記録します。
      パラメーター:
      image - プルされたイメージ
      imageType - プルされたイメージ型
    • pushingImage

      ConsumerSE<TotalProgressEvent> pushingImage(ImageReference imageReference)
      イメージがプッシュされていることをログに記録します。
      パラメーター:
      imageReference - イメージ参照
      戻り値:
      進行状況更新イベントのコンシューマー
    • pushedImage

      void pushedImage(ImageReference imageReference)
      イメージがプッシュされたことをログに記録します。
      パラメーター:
      imageReference - イメージ参照
    • executingLifecycle

      void executingLifecycle(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, VolumeName buildCacheVolume)
      ライフサイクルが実行されていることをログに記録します。
      パラメーター:
      request - ビルドリクエスト
      version - ライフサイクルバージョン
      buildCacheVolume - 使用中のビルドキャッシュボリュームの名前
    • executingLifecycle

      void executingLifecycle(BuildRequest request, org.springframework.boot.buildpack.platform.build.LifecycleVersion version, Cache buildCache)
      ライフサイクルが実行されていることをログに記録します。
      パラメーター:
      request - ビルドリクエスト
      version - ライフサイクルバージョン
      buildCache - 使用中のビルドキャッシュ
    • runningPhase

      ConsumerSE<LogUpdateEvent> runningPhase(BuildRequest request, StringSE name)
      特定のフェーズが実行されていることをログに記録します。
      パラメーター:
      request - ビルドリクエスト
      name - フェーズの名前
      戻り値:
      ログ更新のコンシューマー
    • skippingPhase

      void skippingPhase(StringSE name, StringSE reason)
      特定のフェーズがスキップされていることをログに記録します。
      パラメーター:
      name - フェーズの名前
      reason - フェーズがスキップされた理由
    • executedLifecycle

      void executedLifecycle(BuildRequest request)
      ライフサイクルが実行されたことをログに記録します。
      パラメーター:
      request - ビルドリクエスト
    • taggedImage

      void taggedImage(ImageReference tag)
      タグが作成されたことをログに記録します。
      パラメーター:
      tag - タグリファレンス
    • failedCleaningWorkDir

      void failedCleaningWorkDir(Cache cache, @Nullable ExceptionSE exception)
      キャッシュクリーンアップ手順が正常に完了しなかったことをログに記録します。
      パラメーター:
      cache - キャッシュ
      exception - 失敗の原因となった例外
      導入:
      3.2.6
    • sensitiveTargetBindingDetected

      void sensitiveTargetBindingDetected(Binding binding)
      機密ターゲットとのバインドが検出されたことをログに記録します。
      パラメーター:
      binding - バインディング
      導入:
      3.4.0
    • toSystemOut

      static BuildLog toSystemOut()
      BuildLogSystem.outSE に出力するファクトリメソッド。
      戻り値:
      システムにログアウトするビルドログインスタンス
    • to

      static BuildLog to(PrintStreamSE out)
      BuildLog を指定された PrintStreamSE に出力するファクトリメソッド。
      パラメーター:
      out - ログの出力に使用される出力ストリーム
      戻り値:
      指定された出力ストリームにログを記録するビルドログインスタンス