Class MvnDependencyResolutionDownloadStarted_1_0

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

@MavenVersion(since="3.3.1") @MavenExtensionVersion(since="1.9") public class MvnDependencyResolutionDownloadStarted_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
The start of a download from a remote repository during dependency resolution.

Any file needed by dependency resolution may be downloaded, such as a POM, JAR or maven-metadata.xml file, among others. Events are always paired with a MvnDependencyResolutionDownloadFinished_1_0, with a matching ID.

A download may fail, due to the resource not existing or the server responding with some kind of error. The corresponding MvnDependencyResolutionDownloadFinished_1_0.failureId provides the failure details if so.

  • Field Details

    • id

      public final long id
      The ID of the download.
    • owner

      @Nullable("if no owner could be identified") public final @Nullable("if no owner could be identified") MvnDependencyResolutionDownloadOwnerRef_1_0 owner
      The thing within the build that the download is being performed for.

      Due to Maven internal limitations, some downloads are not attributable to an owner. This usually only occurs when using dynamic build plugin versions. For such downloads, this value will be null.

    • url

      public final String url
      The URL to be downloaded.
  • Constructor Details

  • Method Details