Package com.gradle.scan.eventmodel.maven
Class MvnBuildCacheLocalStoreFinished_1_0
java.lang.Object
com.gradle.scan.eventmodel.maven.MvnBuildCacheLocalStoreFinished_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@MavenVersion(since="3.3.1")
@MavenExtensionVersion(since="1.1")
public class MvnBuildCacheLocalStoreFinished_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
An
EventData
that is published when a local build cache store artifact operation has finished.
Zero or more MvnBuildCacheLocalStoreFinished_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 toMvnBuildCacheLocalStoreStarted_1_0.id
.final @Nullable("when the store failed") Boolean
Whether the artifact ended up stored. -
Constructor Summary
ConstructorDescriptionMvnBuildCacheLocalStoreFinished_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 toMvnBuildCacheLocalStoreStarted_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
-
MvnBuildCacheLocalStoreFinished_1_0
-
-
Method Details