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
ConstructorsConstructorDescriptionDefaultArtifactCoordinate(InternalSession session, org.eclipse.aether.artifact.Artifact coordinate) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.api.ArtifactCoordinate
getId
-
Constructor Details
-
DefaultArtifactCoordinate
public DefaultArtifactCoordinate(@Nonnull InternalSession session, @Nonnull org.eclipse.aether.artifact.Artifact coordinate)
-
-
Method Details
-
getCoordinate
public org.eclipse.aether.artifact.Artifact getCoordinate() -
getGroupId
Description copied from interface:ArtifactCoordinateThe groupId of the artifact.- Specified by:
getGroupIdin interfaceArtifactCoordinate- Returns:
- the groupId
-
getArtifactId
Description copied from interface:ArtifactCoordinateThe artifactId of the artifact.- Specified by:
getArtifactIdin interfaceArtifactCoordinate- Returns:
- the artifactId
-
getVersion
Description copied from interface:ArtifactCoordinateThe version of the artifact.- Specified by:
getVersionin interfaceArtifactCoordinate- Returns:
- the version
-
getExtension
Description copied from interface:ArtifactCoordinateThe extension of the artifact.- Specified by:
getExtensionin interfaceArtifactCoordinate- Returns:
- the extension or an empty string if none, never
null
-
getClassifier
Description copied from interface:ArtifactCoordinateThe classifier of the artifact.- Specified by:
getClassifierin interfaceArtifactCoordinate- Returns:
- the classifier or an empty string if none, never
null
-
equals
-
hashCode
public int hashCode() -
toString
-