Package com.gradle.scan.eventmodel.maven
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 Summary
Fields Modifier and Type Field Description long
id
The ID of the download.@Nullable("if no owner could be identified") MvnDependencyResolutionDownloadOwnerRef_1_0
owner
The thing within the build that the download is being performed for.String
url
The URL to be downloaded.
-
Constructor Summary
Constructors Constructor Description MvnDependencyResolutionDownloadStarted_1_0(long id, @Nullable MvnDependencyResolutionDownloadOwnerRef_1_0 owner, String url)
-
-
-
Field Detail
-
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 Detail
-
MvnDependencyResolutionDownloadStarted_1_0
public MvnDependencyResolutionDownloadStarted_1_0(long id, @Nullable @Nullable MvnDependencyResolutionDownloadOwnerRef_1_0 owner, String url)
-
-