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() |
String |
getClassifier() |
org.eclipse.aether.graph.Dependency |
getDependency() |
Collection<Exclusion> |
getExclusions() |
String |
getExtension() |
String |
getGroupId() |
Boolean |
getOptional() |
Scope |
getScope() |
Type |
getType() |
VersionRange |
getVersion() |
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()
getGroupId
in interface ArtifactCoordinate
public String getArtifactId()
getArtifactId
in interface ArtifactCoordinate
public String getClassifier()
getClassifier
in interface ArtifactCoordinate
public VersionRange getVersion()
getVersion
in interface ArtifactCoordinate
public String getExtension()
getExtension
in interface ArtifactCoordinate
public Type getType()
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.