public class DefaultDependency extends Object implements Dependency
| Constructor and Description |
|---|
DefaultDependency(AbstractSession session,
org.eclipse.aether.graph.Dependency dependency) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getArtifactId() |
String |
getClassifier() |
org.eclipse.aether.graph.Dependency |
getDependency() |
String |
getExtension() |
String |
getGroupId() |
Scope |
getScope() |
Type |
getType() |
Version |
getVersion() |
int |
hashCode() |
boolean |
isOptional() |
boolean |
isSnapshot() |
String |
key() |
DependencyCoordinate |
toCoordinate() |
String |
toString() |
public DefaultDependency(@Nonnull AbstractSession session, @Nonnull org.eclipse.aether.graph.Dependency dependency)
@Nonnull public org.eclipse.aether.graph.Dependency getDependency()
public String getGroupId()
getGroupId in interface Artifactpublic String getArtifactId()
getArtifactId in interface Artifactpublic String getClassifier()
getClassifier in interface Artifactpublic Version getVersion()
getVersion in interface Artifactpublic String getExtension()
getExtension in interface Artifactpublic Type getType()
getType in interface Dependencypublic boolean isSnapshot()
isSnapshot in interface Artifact@Nonnull public Scope getScope()
getScope in interface Dependency@Nullable public boolean isOptional()
isOptional in interface Dependency@Nonnull public DependencyCoordinate toCoordinate()
toCoordinate in interface ArtifacttoCoordinate in interface DependencyCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.