Package | Description |
---|---|
org.apache.maven.api | |
org.apache.maven.api.services |
Modifier and Type | Method and Description |
---|---|
Node |
Session.collectDependencies(Artifact artifact)
Shortcut for
getService(DependencyCollector.class).collect(...) |
Node |
Session.collectDependencies(DependencyCoordinate dependency)
Shortcut for
getService(DependencyResolver.class).resolve(...) |
Node |
Session.collectDependencies(Project project)
Shortcut for
getService(DependencyCollector.class).collect(...) |
Node |
Node.filter(Predicate<Node> filter)
Returns a new tree starting at this node, filtering the children.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
Node.getChildren()
Gets the child nodes of this node.
|
default Stream<Node> |
Node.stream()
Obtain a Stream containing this node and all its descendant.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NodeVisitor.enter(Node node)
Starts the visit to the specified dependency node.
|
boolean |
NodeVisitor.leave(Node node)
Ends the visit to the specified dependency node.
|
Modifier and Type | Method and Description |
---|---|
Node |
Node.filter(Predicate<Node> filter)
Returns a new tree starting at this node, filtering the children.
|
Modifier and Type | Method and Description |
---|---|
Node |
ProjectManager.getCollectedDependencies(Project project,
ResolutionScope scope) |
Node |
DependencyCollectorResult.getRoot()
Gets the root node of the dependency graph.
|
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.