Package com.gradle.scan.eventmodel.maven
Class MvnBuildCacheLocalLoadFinished_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.maven.MvnBuildCacheLocalLoadFinished_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@MavenVersion(since="3.3.1") @MavenExtensionVersion(since="1.1") public class MvnBuildCacheLocalLoadFinished_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
AnEventData
that is published when a local build cache load artifact operation has finished.Zero or more
MvnBuildCacheLocalLoadFinished_1_0
events may be published.
-
-
Field Summary
Fields Modifier and Type Field Description @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.@Nullable("when the load was successful") Long
failureId
The failure in case of a failed load.@Nullable("when the load failed") Boolean
hit
Whether the outcome of the load operation was a hit or miss.long
id
The ID of the load activity, linking toMvnBuildCacheLocalLoadStarted_1_0.id
.
-
Constructor Summary
Constructors Constructor Description MvnBuildCacheLocalLoadFinished_1_0(long id, @Nullable Boolean hit, @Nullable Long archiveSize, @Nullable Long failureId)
-
-
-
Field Detail
-
id
public final long id
The ID of the load activity, linking toMvnBuildCacheLocalLoadStarted_1_0.id
.
-
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.
-
failureId
@Nullable("when the load was successful") public final @Nullable("when the load was successful") Long failureId
The failure in case of a failed load.The failure ID is mapped to a
MvnException_1_0
inMvnExceptionData_1_0
.
-
-