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, waitgetIdpublic DefaultDependencyCoordinate(@Nonnull AbstractSession session, @Nonnull org.eclipse.aether.graph.Dependency dependency)
@Nonnull public org.eclipse.aether.graph.Dependency getDependency()
public String getGroupId()
ArtifactCoordinategetGroupId in interface ArtifactCoordinatepublic String getArtifactId()
ArtifactCoordinategetArtifactId in interface ArtifactCoordinatepublic String getClassifier()
ArtifactCoordinategetClassifier in interface ArtifactCoordinatenull.public VersionRange getVersion()
ArtifactCoordinategetVersion in interface ArtifactCoordinatepublic String getExtension()
ArtifactCoordinategetExtension in interface ArtifactCoordinatenull.public Type getType()
DependencyCoordinategetType 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 DependencyCoordinateCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.