Package org.apache.maven.internal.impl
Class DefaultArtifactCoordinates
java.lang.Object
org.apache.maven.internal.impl.DefaultArtifactCoordinates
- All Implemented Interfaces:
- ArtifactCoordinates
A wrapper class around a maven resolver artifact.
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultArtifactCoordinates(InternalSession session, org.eclipse.aether.artifact.Artifact coordinates) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the identifier of the artifact.Returns the classifier of the artifact.org.eclipse.aether.artifact.ArtifactReturns the file extension of the artifact.Returns the group identifier of the artifact.Returns the specific version, range of versions or meta-version of the artifact.inthashCode()toString()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.api.ArtifactCoordinatesgetId
- 
Constructor Details- 
DefaultArtifactCoordinatespublic DefaultArtifactCoordinates(@Nonnull InternalSession session, @Nonnull org.eclipse.aether.artifact.Artifact coordinates) 
 
- 
- 
Method Details- 
getCoordinatespublic org.eclipse.aether.artifact.Artifact getCoordinates()
- 
getGroupIdDescription copied from interface:ArtifactCoordinatesReturns the group identifier of the artifact.- Specified by:
- getGroupIdin interface- ArtifactCoordinates
- Returns:
- the group identifier of the artifact
 
- 
getArtifactIdDescription copied from interface:ArtifactCoordinatesReturns the identifier of the artifact.- Specified by:
- getArtifactIdin interface- ArtifactCoordinates
- Returns:
- the identifier of the artifact
 
- 
getVersionConstraintDescription copied from interface:ArtifactCoordinatesReturns the specific version, range of versions or meta-version of the artifact. A meta-version is a version suffixed with theSNAPSHOTkeyword.- Specified by:
- getVersionConstraintin interface- ArtifactCoordinates
- Returns:
- the specific version, range of versions or meta-version of the artifact
 
- 
getExtensionDescription copied from interface:ArtifactCoordinatesReturns the file extension of the artifact. The dot separator is not included in the returned string.- Specified by:
- getExtensionin interface- ArtifactCoordinates
- Returns:
- the file extension or an empty string if none, never null
 
- 
getClassifierDescription copied from interface:ArtifactCoordinatesReturns the classifier of the artifact.- Specified by:
- getClassifierin interface- ArtifactCoordinates
- Returns:
- the classifier or an empty string if none, never null
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-