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 Artifact
public String getArtifactId()
getArtifactId
in interface Artifact
public String getClassifier()
getClassifier
in interface Artifact
public Version getVersion()
getVersion
in interface Artifact
public String getExtension()
getExtension
in interface Artifact
public Type getType()
getType
in interface Dependency
public 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 Artifact
toCoordinate
in interface Dependency
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.