Package org.apache.maven.internal.impl
Class DefaultDependencyCoordinate
java.lang.Object
org.apache.maven.internal.impl.DefaultDependencyCoordinate
- All Implemented Interfaces:
ArtifactCoordinate,DependencyCoordinate
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDependencyCoordinate(AbstractSession 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, waitMethods inherited from interface org.apache.maven.api.ArtifactCoordinate
getId
-
Constructor Details
-
DefaultDependencyCoordinate
public DefaultDependencyCoordinate(@Nonnull AbstractSession session, @Nonnull org.eclipse.aether.graph.Dependency dependency)
-
-
Method Details
-
getDependency
-
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
-
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
-
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
-
getType
Description copied from interface:DependencyCoordinateThe type of the artifact.- Specified by:
getTypein interfaceDependencyCoordinate- Returns:
- the type
-
getScope
- Specified by:
getScopein interfaceDependencyCoordinate
-
getOptional
- Specified by:
getOptionalin interfaceDependencyCoordinate
-
getExclusions
- Specified by:
getExclusionsin interfaceDependencyCoordinate
-