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 Details

    • id

      public final long id
      The ID of the store activity, linking to MvnBuildCacheLocalStoreStarted_1_0.id.
    • 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 Details

    • MvnBuildCacheLocalStoreFinished_1_0

      public MvnBuildCacheLocalStoreFinished_1_0(long id, @Nullable @Nullable Boolean stored, @Nullable @Nullable Long failureId)
  • Method Details