Package com.gradle.scan.eventmodel.maven
Class MvnBuildCacheRemoteStoreFinished_1_0
java.lang.Object
com.gradle.scan.eventmodel.maven.MvnBuildCacheRemoteStoreFinished_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
MvnBuildCacheRemoteStoreFinished_1_1
@MavenVersion(since="3.3.1")
@MavenExtensionVersion(since="1.0",
until="1.17")
public class MvnBuildCacheRemoteStoreFinished_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
An
EventData
that is published when a remote build cache store artifact operation has finished.
Zero or more MvnBuildCacheRemoteStoreFinished_1_0
events may be published.
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable("when the store was successful") Long
The failure in case of a failed store.final long
The ID of the store activity, linking toMvnBuildCacheRemoteStoreStarted_1_0.id
.final @Nullable("when the store failed") Boolean
Whether the artifact ended up stored. -
Constructor Summary
ConstructorDescriptionMvnBuildCacheRemoteStoreFinished_1_0
(long id, @Nullable Boolean stored, @Nullable Long failureId) -
Method Summary
-
Field Details
-
id
public final long idThe ID of the store activity, linking toMvnBuildCacheRemoteStoreStarted_1_0.id
. -
stored
Whether the artifact ended up stored.The cache service implementation might decide to not store it under some conditions. e.g. the artifact was too large
-
failureId
@Nullable("when the store was successful") public final @Nullable("when the store was successful") Long failureIdThe failure in case of a failed store.The failure ID is mapped to a
MvnException_1_0
inMvnExceptionData_1_0
.
-
-
Constructor Details
-
MvnBuildCacheRemoteStoreFinished_1_0
-
-
Method Details