public class DefaultNode extends AbstractNode
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.aether.graph.DependencyNode |
node |
protected AbstractSession |
session |
protected boolean |
verbose |
Constructor and Description |
---|
DefaultNode(AbstractSession session,
org.eclipse.aether.graph.DependencyNode node,
boolean verbose) |
Modifier and Type | Method and Description |
---|---|
String |
asString()
Returns a string representation of this dependency node.
|
List<Node> |
getChildren()
Gets the child nodes of this node.
|
Dependency |
getDependency() |
List<RemoteRepository> |
getRemoteRepositories() |
Optional<RemoteRepository> |
getRepository()
The repository where this artifact has been downloaded from.
|
accept, filter, toString
@Nonnull protected final AbstractSession session
@Nonnull protected final org.eclipse.aether.graph.DependencyNode node
protected final boolean verbose
public DefaultNode(@Nonnull AbstractSession session, @Nonnull org.eclipse.aether.graph.DependencyNode node, boolean verbose)
public Dependency getDependency()
public List<Node> getChildren()
Node
null
public List<RemoteRepository> getRemoteRepositories()
public Optional<RemoteRepository> getRepository()
Node
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.