Package org.apache.maven.internal.impl
Class DefaultDependencyCoordinate
java.lang.Object
org.apache.maven.internal.impl.DefaultDependencyCoordinate
- All Implemented Interfaces:
ArtifactCoordinate
,DependencyCoordinate
-
Constructor Summary
ConstructorDescriptionDefaultDependencyCoordinate
(InternalSession session, org.eclipse.aether.graph.Dependency dependency) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.ArtifactCoordinate
getId
-
Constructor Details
-
DefaultDependencyCoordinate
public DefaultDependencyCoordinate(@Nonnull InternalSession session, @Nonnull org.eclipse.aether.graph.Dependency dependency)
-
-
Method Details
-
getDependency
-
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
-
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
-
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
-
getType
Description copied from interface:DependencyCoordinate
The type of the artifact.- Specified by:
getType
in interfaceDependencyCoordinate
- Returns:
- the type
-
getScope
- Specified by:
getScope
in interfaceDependencyCoordinate
-
getOptional
- Specified by:
getOptional
in interfaceDependencyCoordinate
-
getExclusions
- Specified by:
getExclusions
in interfaceDependencyCoordinate
-