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() |
List<Node> |
getChildren() |
Dependency |
getDependency() |
List<RemoteRepository> |
getRemoteRepositories() |
Optional<RemoteRepository> |
getRepository() |
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<RemoteRepository> getRemoteRepositories()
public Optional<RemoteRepository> getRepository()
public String asString()
asString
in interface Node
asString
in class AbstractNode
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.