Class BuildCachePackFinished_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.BuildCachePackFinished_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
BuildCachePackFinished_1_1
@GradleVersion(since="4.1") @PluginVersion(since="1.9", until="1.13") public class BuildCachePackFinished_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
AnEventData
that is published when a build cache pack artifact operation has finished.Zero or more
BuildCachePackFinished_1_0
events may be published.
-
-
Field Summary
Fields Modifier and Type Field Description @Nullable("when the pack failed") Long
archiveEntryCount
The number of entries in the packed cache artifact.@Nullable("when the pack failed") Long
archiveSize
The number of bytes of the packed cache artifact.@Nullable("when the pack was successful") ExceptionTree_1_0
failure
The failure in case of a failed pack.long
id
The id of the pack activity.
-
Constructor Summary
Constructors Constructor Description BuildCachePackFinished_1_0(long id, @Nullable Long archiveSize, @Nullable Long archiveEntryCount, @Nullable ExceptionTree_1_0 failure)
-
-
-
Field Detail
-
id
public final long id
The id of the pack activity.
-
archiveSize
@Nullable("when the pack failed") public final @Nullable("when the pack failed") Long archiveSize
The number of bytes of the packed cache artifact.
-
archiveEntryCount
@Nullable("when the pack failed") public final @Nullable("when the pack failed") Long archiveEntryCount
The number of entries in the packed cache artifact.This is used as a rough metric of the complexity of the archive being processed.
-
failure
@Nullable("when the pack was successful") public final @Nullable("when the pack was successful") ExceptionTree_1_0 failure
The failure in case of a failed pack.null
for plugin version ≥ 1.14.
-
-
Constructor Detail
-
BuildCachePackFinished_1_0
public BuildCachePackFinished_1_0(long id, @Nullable @Nullable Long archiveSize, @Nullable @Nullable Long archiveEntryCount, @Nullable @Nullable ExceptionTree_1_0 failure)
-
-