Class MvnBuildCachePackFinished_1_0

java.lang.Object
com.gradle.scan.eventmodel.maven.MvnBuildCachePackFinished_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData

@MavenVersion(since="3.3.1") @MavenExtensionVersion(since="1.0") public class MvnBuildCachePackFinished_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
An EventData that is published when a build cache pack artifact operation has finished.

Zero or more MvnBuildCachePackFinished_1_0 events may be published.

  • Field Details

    • id

      public final long id
      The ID of the pack activity, linking to MvnBuildCachePackStarted_1_0.id.
    • archiveSize

      @Nullable("when the pack failed") public final @Nullable("when the pack failed") Long archiveSize
      The number of bytes of the packed cache artifact.
    • archiveEntryCount

      @Nullable("when the pack failed") public final @Nullable("when the pack failed") Long archiveEntryCount
      The number of entries in the packed cache artifact.

      This is used as a rough metric of the complexity of the archive being processed.

    • failureId

      @Nullable("when the pack was successful") public final @Nullable("when the pack was successful") Long failureId
      The failure in case of a failed pack.

      The failure ID is mapped to a MvnException_1_0 in MvnExceptionData_1_0.

  • Constructor Details

    • MvnBuildCachePackFinished_1_0

      public MvnBuildCachePackFinished_1_0(long id, @Nullable @Nullable Long archiveSize, @Nullable @Nullable Long archiveEntryCount, @Nullable @Nullable Long failureId)
  • Method Details