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
Modifier and TypeFieldDescriptionfinal long
The ID of the download.final @Nullable("if no owner could be identified") MvnDependencyResolutionDownloadOwnerRef_1_0
The thing within the build that the download is being performed for.final String
The URL to be downloaded. -
Constructor Summary
ConstructorDescriptionMvnDependencyResolutionDownloadStarted_1_0
(long id, @Nullable MvnDependencyResolutionDownloadOwnerRef_1_0 owner, String url) -
Method Summary
-
Field Details
-
id
public final long idThe ID of the download. -
owner
@Nullable("if no owner could be identified") public final @Nullable("if no owner could be identified") MvnDependencyResolutionDownloadOwnerRef_1_0 ownerThe 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
The URL to be downloaded.
-
-
Constructor Details
-
MvnDependencyResolutionDownloadStarted_1_0
public MvnDependencyResolutionDownloadStarted_1_0(long id, @Nullable @Nullable MvnDependencyResolutionDownloadOwnerRef_1_0 owner, String url)
-
-
Method Details