Class BuildCacheUnpackFinished_1_0

java.lang.Object
com.gradle.scan.eventmodel.gradle.BuildCacheUnpackFinished_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
Direct Known Subclasses:
BuildCacheUnpackFinished_1_1

@GradleVersion(since="4.1") @PluginVersion(since="1.9", until="1.13") public class BuildCacheUnpackFinished_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
An EventData that is published when a build cache unpack artifact operation has finished.

Zero or more BuildCacheUnpackFinished_1_0 events may be published.

  • Field Details

    • id

      public final long id
      The id of the unpack activity.
    • archiveEntryCount

      @Nullable("when the unpack failed") public final @Nullable("when the unpack failed") Long archiveEntryCount
      The number of entries in the unpacked cache artifact.

      This is used as a rough metric of the complexity of the archive being processed.

    • failure

      @Nullable("when the unpack was successful") public final @Nullable("when the unpack was successful") ExceptionTree_1_0 failure
      The failure in case of a failed unpack.

      null for plugin version ≥ 1.14.

  • Constructor Details

    • BuildCacheUnpackFinished_1_0

      public BuildCacheUnpackFinished_1_0(long id, @Nullable @Nullable Long archiveEntryCount, @Nullable @Nullable ExceptionTree_1_0 failure)
  • Method Details