Class BuildCacheRemoteStoreFinished_1_0

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

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

Zero or more BuildCacheRemoteStoreFinished_1_0 events may be published.

  • Field Details

    • id

      public final long id
      The id of the store activity.
    • stored

      @Nullable("when the store failed") public final @Nullable("when the store failed") Boolean stored
      Whether the artifact ended up stored.

      The cache service implementation might decide to not store it under some conditions. e.g. the artifact was too large

    • failure

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

      null for plugin version ≥ 1.14.

  • Constructor Details

    • BuildCacheRemoteStoreFinished_1_0

      public BuildCacheRemoteStoreFinished_1_0(long id, @Nullable @Nullable Boolean stored, @Nullable @Nullable ExceptionTree_1_0 failure)
  • Method Details