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
An
EventData
that is published when a build cache pack artifact operation has finished.
Zero or more MvnBuildCachePackFinished_1_0
events may be published.
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable("when the pack failed") Long
The number of entries in the packed cache artifact.final @Nullable("when the pack failed") Long
The number of bytes of the packed cache artifact.final @Nullable("when the pack was successful") Long
The failure in case of a failed pack.final long
The ID of the pack activity, linking toMvnBuildCachePackStarted_1_0.id
. -
Constructor Summary
ConstructorDescriptionMvnBuildCachePackFinished_1_0
(long id, @Nullable Long archiveSize, @Nullable Long archiveEntryCount, @Nullable Long failureId) -
Method Summary
-
Field Details
-
id
public final long idThe ID of the pack activity, linking toMvnBuildCachePackStarted_1_0.id
. -
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.
-
failureId
@Nullable("when the pack was successful") public final @Nullable("when the pack was successful") Long failureIdThe failure in case of a failed pack.The failure ID is mapped to a
MvnException_1_0
inMvnExceptionData_1_0
.
-
-
Constructor Details
-
MvnBuildCachePackFinished_1_0
-
-
Method Details