Package com.gradle.scan.eventmodel.maven
Class MvnResolvedArtifact_1_0
java.lang.Object
com.gradle.scan.eventmodel.maven.MvnResolvedArtifact_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@MavenVersion(since="3.3.1")
@MavenExtensionVersion(since="2.4")
public class MvnResolvedArtifact_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
Represents an artifact, such as a dependency, that has been resolved from a local cache in contrast to a remote binary repository.
The build event stream may contain zero or more instances of this event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MvnFileRef_1_0A reference to the resolved artifact file.final @Nullable("Might be null if the artifact was installed locally or if the repository ID is not known.") LongID of the remote repository that the artifact is or would be resolved from (referencesMvnRepository_1_0.id).final longThe size of the resolved artifact in bytes.Source of the artifact. -
Constructor Summary
ConstructorsConstructorDescriptionMvnResolvedArtifact_1_0(MvnFileRef_1_0 file, long size, MvnArtifactResolutionSource_1 source, @Nullable Long repositoryId) -
Method Summary
-
Field Details
-
file
A reference to the resolved artifact file. -
size
public final long sizeThe size of the resolved artifact in bytes. -
source
Source of the artifact. -
repositoryId
@Nullable("Might be null if the artifact was installed locally or if the repository ID is not known.") public final @Nullable("Might be null if the artifact was installed locally or if the repository ID is not known.") Long repositoryIdID of the remote repository that the artifact is or would be resolved from (referencesMvnRepository_1_0.id).
-
-
Constructor Details
-
MvnResolvedArtifact_1_0
public MvnResolvedArtifact_1_0(MvnFileRef_1_0 file, long size, MvnArtifactResolutionSource_1 source, @Nullable @Nullable Long repositoryId)
-
-
Method Details