Modifier and Type | Method and Description |
---|---|
DependencyNode |
DependencyGraphBuilder.buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Build the dependency graph.
|
default DependencyNode |
DependencyGraphBuilder.buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter,
Collection<org.apache.maven.project.MavenProject> reactorProjects)
Deprecated.
|
DependencyNode |
DependencyCollectorBuilder.collectDependencyGraph(DependencyCollectorRequest dependencyCollectorRequest)
collect the project's raw dependency graph, with information to allow the API client to reason on its own about
dependencies.
|
default DependencyNode |
DependencyCollectorBuilder.collectDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
collect the project's raw dependency graph, with information to allow the API client to reason on its own about
dependencies.
|
DependencyNode |
DependencyNode.getParent()
Gets the parent dependency node of this dependency node.
|
Modifier and Type | Method and Description |
---|---|
List<DependencyNode> |
DependencyNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
boolean |
DependencyNodeFilter.accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.
|
boolean |
ArtifactDependencyNodeFilter.accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.
|
boolean |
AndDependencyNodeFilter.accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.
|
boolean |
AncestorOrSelfDependencyNodeFilter.accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.
|
Constructor and Description |
---|
AncestorOrSelfDependencyNodeFilter(DependencyNode descendantNode) |
Constructor and Description |
---|
AncestorOrSelfDependencyNodeFilter(List<DependencyNode> descendantNodes)
Creates a dependency node filter that only accepts nodes that are ancestors of, or equal to, the specified list
of nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDependencyNode
Default implementation of a DependencyNode.
|
Modifier and Type | Method and Description |
---|---|
DependencyNode |
DefaultDependencyGraphBuilder.buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Builds the dependency graph for Maven 3.1+.
|
DependencyNode |
DefaultDependencyCollectorBuilder.collectDependencyGraph(DependencyCollectorRequest dependencyCollectorRequest) |
DependencyNode |
DefaultDependencyNode.getParent() |
Modifier and Type | Method and Description |
---|---|
List<DependencyNode> |
DefaultDependencyNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDependencyNode.setChildren(List<DependencyNode> children) |
Constructor and Description |
---|
DefaultDependencyNode(DependencyNode parent,
org.apache.maven.artifact.Artifact artifact,
String premanagedVersion,
String premanagedScope,
String versionConstraint)
Constructs the DefaultDependencyNode.
|
DefaultDependencyNode(DependencyNode parent,
org.apache.maven.artifact.Artifact artifact,
String premanagedVersion,
String premanagedScope,
String versionConstraint,
Boolean optional,
List<org.apache.maven.model.Exclusion> exclusions) |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
BuildingDependencyNodeVisitor.getDependencyTree()
Gets the root node of the resultant dependency tree constructed by this visitor.
|
Modifier and Type | Method and Description |
---|---|
List<DependencyNode> |
CollectingDependencyNodeVisitor.getNodes()
Gets the list of collected dependency nodes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SerializingDependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
boolean |
FilteringDependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
boolean |
DependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
boolean |
CollectingDependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
boolean |
BuildingDependencyNodeVisitor.endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.
|
boolean |
SerializingDependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|
boolean |
FilteringDependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|
boolean |
DependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|
boolean |
CollectingDependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|
boolean |
BuildingDependencyNodeVisitor.visit(DependencyNode node)
Starts the visit to the specified dependency node.
|
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.