Package com.gradle.scan.eventmodel.maven
Class MvnBuildCachePackFinished_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.maven.MvnBuildCachePackFinished_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@MavenVersion(since="3.3.1") @MavenExtensionVersion(since="1.0") public class MvnBuildCachePackFinished_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
MvnBuildCachePackFinished_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") Long
failureId
The failure in case of a failed pack.long
id
The ID of the pack activity, linking toMvnBuildCachePackStarted_1_0.id
.
-
Constructor Summary
Constructors Constructor Description MvnBuildCachePackFinished_1_0(long id, @Nullable Long archiveSize, @Nullable Long archiveEntryCount, @Nullable Long failureId)
-
-
-
Field Detail
-
id
public final long id
The ID of the pack activity, linking toMvnBuildCachePackStarted_1_0.id
.
-
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.
-
failureId
@Nullable("when the pack was successful") public final @Nullable("when the pack was successful") Long failureId
The failure in case of a failed pack.The failure ID is mapped to a
MvnException_1_0
inMvnExceptionData_1_0
.
-
-