Class 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 Detail

      • stored

        @Nullable("when the store failed")
        public final @Nullable("when the store failed") Boolean 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 failureId
        The failure in case of a failed store.

        The failure ID is mapped to a MvnException_1_0 in MvnExceptionData_1_0.

    • Constructor Detail

      • MvnBuildCacheRemoteStoreFinished_1_0

        public MvnBuildCacheRemoteStoreFinished_1_0​(long id,
                                                    @Nullable
                                                    @Nullable Boolean stored,
                                                    @Nullable
                                                    @Nullable Long failureId)