public class DefaultArtifactCoordinate extends Object implements ArtifactCoordinate
Constructor and Description |
---|
DefaultArtifactCoordinate(AbstractSession session,
org.eclipse.aether.artifact.Artifact coordinate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getArtifactId()
The artifactId of the artifact.
|
String |
getClassifier()
The classifier of the artifact.
|
org.eclipse.aether.artifact.Artifact |
getCoordinate() |
String |
getExtension()
The extension of the artifact.
|
String |
getGroupId()
The groupId of the artifact.
|
VersionRange |
getVersion()
The version of the artifact.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId
public DefaultArtifactCoordinate(@Nonnull AbstractSession session, @Nonnull org.eclipse.aether.artifact.Artifact coordinate)
public org.eclipse.aether.artifact.Artifact getCoordinate()
@Nonnull public String getGroupId()
ArtifactCoordinate
getGroupId
in interface ArtifactCoordinate
@Nonnull public String getArtifactId()
ArtifactCoordinate
getArtifactId
in interface ArtifactCoordinate
@Nonnull public VersionRange getVersion()
ArtifactCoordinate
getVersion
in interface ArtifactCoordinate
public String getExtension()
ArtifactCoordinate
getExtension
in interface ArtifactCoordinate
null
.@Nonnull public String getClassifier()
ArtifactCoordinate
getClassifier
in interface ArtifactCoordinate
null
.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.