public class DefaultDependencyCoordinate extends Object implements DependencyCoordinate
Constructor and Description |
---|
DefaultDependencyCoordinate(AbstractSession session,
org.eclipse.aether.graph.Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
The artifactId of the artifact.
|
String |
getClassifier()
The classifier of the artifact.
|
org.eclipse.aether.graph.Dependency |
getDependency() |
Collection<Exclusion> |
getExclusions() |
String |
getExtension()
The extension of the artifact.
|
String |
getGroupId()
The groupId of the artifact.
|
Boolean |
getOptional() |
Scope |
getScope() |
Type |
getType()
The type of the artifact.
|
VersionRange |
getVersion()
The version of the artifact.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
public DefaultDependencyCoordinate(@Nonnull AbstractSession session, @Nonnull org.eclipse.aether.graph.Dependency dependency)
@Nonnull public org.eclipse.aether.graph.Dependency getDependency()
public String getGroupId()
ArtifactCoordinate
getGroupId
in interface ArtifactCoordinate
public String getArtifactId()
ArtifactCoordinate
getArtifactId
in interface ArtifactCoordinate
public String getClassifier()
ArtifactCoordinate
getClassifier
in interface ArtifactCoordinate
null
.public VersionRange getVersion()
ArtifactCoordinate
getVersion
in interface ArtifactCoordinate
public String getExtension()
ArtifactCoordinate
getExtension
in interface ArtifactCoordinate
null
.public Type getType()
DependencyCoordinate
getType
in interface DependencyCoordinate
@Nonnull public Scope getScope()
getScope
in interface DependencyCoordinate
@Nullable public Boolean getOptional()
getOptional
in interface DependencyCoordinate
@Nonnull public Collection<Exclusion> getExclusions()
getExclusions
in interface DependencyCoordinate
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.