Class BuildCacheRemoteLoadFinished_1_0

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData
    Direct Known Subclasses:
    BuildCacheRemoteLoadFinished_1_1

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

    Zero or more BuildCacheRemoteLoadFinished_1_0 events may be published.

    • Field Detail

      • id

        public final long id
        The id of the load activity.
      • hit

        @Nullable("when the load failed")
        public final @Nullable("when the load failed") Boolean hit
        Whether the outcome of the load operation was a hit or miss.
      • archiveSize

        @Nullable("when the load was a miss or failed")
        public final @Nullable("when the load was a miss or failed") Long archiveSize
        The number of bytes of the loaded cache artifact, if it was a hit.
      • failure

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

        null for plugin version ≥ 1.14.

    • Constructor Detail

      • BuildCacheRemoteLoadFinished_1_0

        public BuildCacheRemoteLoadFinished_1_0​(long id,
                                                @Nullable
                                                @Nullable Boolean hit,
                                                @Nullable
                                                @Nullable Long archiveSize,
                                                @Nullable
                                                @Nullable ExceptionTree_1_0 failure)