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
An
EventData that is published when a build cache pack artifact operation has finished.
Zero or more BuildCachePackFinished_1_0 events may be published.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable("when the pack failed") LongThe number of entries in the packed cache artifact.final @Nullable("when the pack failed") LongThe number of bytes of the packed cache artifact.final @Nullable("when the pack was successful") ExceptionTree_1_0The failure in case of a failed pack.final longThe id of the pack activity. -
Constructor Summary
ConstructorsConstructorDescriptionBuildCachePackFinished_1_0(long id, @Nullable Long archiveSize, @Nullable Long archiveEntryCount, @Nullable ExceptionTree_1_0 failure) -
Method Summary
-
Field Details
-
id
public final long idThe id of the pack activity. -
archiveSize
The number of bytes of the packed cache artifact. -
archiveEntryCount
@Nullable("when the pack failed") public final @Nullable("when the pack failed") Long archiveEntryCountThe 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 failureThe failure in case of a failed pack.nullfor plugin version ≥ 1.14.
-
-
Constructor Details
-
BuildCachePackFinished_1_0
public BuildCachePackFinished_1_0(long id, @Nullable @Nullable Long archiveSize, @Nullable @Nullable Long archiveEntryCount, @Nullable @Nullable ExceptionTree_1_0 failure)
-
-
Method Details