Package org.apache.maven.internal.impl
Class DefaultArtifactCoordinate
java.lang.Object
org.apache.maven.internal.impl.DefaultArtifactCoordinate
- All Implemented Interfaces:
ArtifactCoordinate
A wrapper class around a maven resolver artifact.
-
Constructor Summary
ConstructorDescriptionDefaultArtifactCoordinate
(AbstractSession session, org.eclipse.aether.artifact.Artifact coordinate) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.maven.api.ArtifactCoordinate
getId
-
Constructor Details
-
DefaultArtifactCoordinate
public DefaultArtifactCoordinate(@Nonnull AbstractSession session, @Nonnull org.eclipse.aether.artifact.Artifact coordinate)
-
-
Method Details
-
getCoordinate
public org.eclipse.aether.artifact.Artifact getCoordinate() -
getGroupId
Description copied from interface:ArtifactCoordinate
The groupId of the artifact.- Specified by:
getGroupId
in interfaceArtifactCoordinate
- Returns:
- the groupId
-
getArtifactId
Description copied from interface:ArtifactCoordinate
The artifactId of the artifact.- Specified by:
getArtifactId
in interfaceArtifactCoordinate
- Returns:
- the artifactId
-
getVersion
Description copied from interface:ArtifactCoordinate
The version of the artifact.- Specified by:
getVersion
in interfaceArtifactCoordinate
- Returns:
- the version
-
getExtension
Description copied from interface:ArtifactCoordinate
The extension of the artifact.- Specified by:
getExtension
in interfaceArtifactCoordinate
- Returns:
- the extension or an empty string if none, never
null
-
getClassifier
Description copied from interface:ArtifactCoordinate
The classifier of the artifact.- Specified by:
getClassifier
in interfaceArtifactCoordinate
- Returns:
- the classifier or an empty string if none, never
null
-
equals
-
hashCode
public int hashCode() -
toString
-