Uses of Interface
org.apache.maven.shared.dependency.graph.DependencyNode
Packages that use DependencyNode
Package
Description
-
Uses of DependencyNode in org.apache.maven.shared.dependency.graph
Methods in org.apache.maven.shared.dependency.graph that return DependencyNodeModifier and TypeMethodDescriptionDependencyGraphBuilder.buildDependencyGraph
(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) Build the dependency graph.DependencyGraphBuilder.buildDependencyGraph
(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter, Collection<org.apache.maven.project.MavenProject> reactorProjects) Build the dependency graph, with a hack to include dependencies contained in the reactor projects but that are not yet compiled, which is the minimum prerequisite for Maven core's ReactorReader to find them.DependencyNode.getParent()
Gets the parent dependency node of this dependency node.Methods in org.apache.maven.shared.dependency.graph that return types with arguments of type DependencyNode -
Uses of DependencyNode in org.apache.maven.shared.dependency.graph.filter
Fields in org.apache.maven.shared.dependency.graph.filter with type parameters of type DependencyNodeModifier and TypeFieldDescriptionprivate final List<DependencyNode>
AncestorOrSelfDependencyNodeFilter.descendantNodes
The list of nodes that this filter accepts ancestors-or-self of.Methods in org.apache.maven.shared.dependency.graph.filter with parameters of type DependencyNodeModifier and TypeMethodDescriptionboolean
AncestorOrSelfDependencyNodeFilter.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
ArtifactDependencyNodeFilter.accept
(DependencyNode node) Gets whether this filter accepts the specified dependency node.boolean
DependencyNodeFilter.accept
(DependencyNode node) Gets whether this filter accepts the specified dependency node.private boolean
AncestorOrSelfDependencyNodeFilter.isAncestorOrSelf
(DependencyNode ancestorNode, DependencyNode descendantNode) Gets whether the first dependency node is an ancestor-or-self of the second.Constructors in org.apache.maven.shared.dependency.graph.filter with parameters of type DependencyNodeConstructor parameters in org.apache.maven.shared.dependency.graph.filter with type arguments of type DependencyNodeModifierConstructorDescriptionAncestorOrSelfDependencyNodeFilter
(List<DependencyNode> descendantNodes) Creates a dependency node filter that only accepts nodes that are ancestors of, or equal to, the specified list of nodes. -
Uses of DependencyNode in org.apache.maven.shared.dependency.graph.internal
Classes in org.apache.maven.shared.dependency.graph.internal that implement DependencyNodeModifier and TypeClassDescriptionclass
Default implementation of a DependencyNode.Fields in org.apache.maven.shared.dependency.graph.internal declared as DependencyNodeFields in org.apache.maven.shared.dependency.graph.internal with type parameters of type DependencyNodeMethods in org.apache.maven.shared.dependency.graph.internal that return DependencyNodeModifier and TypeMethodDescriptionDefaultDependencyGraphBuilder.buildDependencyGraph
(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) Builds a dependency graph.DefaultDependencyGraphBuilder.buildDependencyGraph
(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter, Collection<org.apache.maven.project.MavenProject> reactorProjects) Builds a dependency graph.Maven31DependencyGraphBuilder.buildDependencyGraph
(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) Builds the dependency graph for Maven 3.1+.Maven31DependencyGraphBuilder.buildDependencyGraph
(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter, Collection<org.apache.maven.project.MavenProject> reactorProjects) Builds the dependency graph for Maven 3.1+, eventually hacking for collecting projects from reactor not yet built.private DependencyNode
Maven31DependencyGraphBuilder.buildDependencyNode
(DependencyNode parent, org.eclipse.aether.graph.DependencyNode node, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) DefaultDependencyNode.getParent()
Methods in org.apache.maven.shared.dependency.graph.internal that return types with arguments of type DependencyNodeMethods in org.apache.maven.shared.dependency.graph.internal with parameters of type DependencyNodeModifier and TypeMethodDescriptionprivate DependencyNode
Maven31DependencyGraphBuilder.buildDependencyNode
(DependencyNode parent, org.eclipse.aether.graph.DependencyNode node, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter) Method parameters in org.apache.maven.shared.dependency.graph.internal with type arguments of type DependencyNodeModifier and TypeMethodDescriptionvoid
DefaultDependencyNode.setChildren
(List<DependencyNode> children) Constructors in org.apache.maven.shared.dependency.graph.internal with parameters of type DependencyNodeModifierConstructorDescriptionDefaultDependencyNode
(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) -
Uses of DependencyNode in org.apache.maven.shared.dependency.graph.traversal
Fields in org.apache.maven.shared.dependency.graph.traversal declared as DependencyNodeModifier and TypeFieldDescriptionprivate DependencyNode
BuildingDependencyNodeVisitor.rootNode
The root node of the resultant tree.Fields in org.apache.maven.shared.dependency.graph.traversal with type parameters of type DependencyNodeModifier and TypeFieldDescriptionprivate final List<DependencyNode>
CollectingDependencyNodeVisitor.nodes
The collected list of nodes.private final Stack<DependencyNode>
BuildingDependencyNodeVisitor.parentNodes
The resultant tree parent nodes for the currently visited node.Methods in org.apache.maven.shared.dependency.graph.traversal that return DependencyNodeModifier and TypeMethodDescriptionBuildingDependencyNodeVisitor.getDependencyTree()
Gets the root node of the resultant dependency tree constructed by this visitor.Methods in org.apache.maven.shared.dependency.graph.traversal that return types with arguments of type DependencyNodeModifier and TypeMethodDescriptionCollectingDependencyNodeVisitor.getNodes()
Gets the list of collected dependency nodes.Methods in org.apache.maven.shared.dependency.graph.traversal with parameters of type DependencyNodeModifier and TypeMethodDescriptionboolean
BuildingDependencyNodeVisitor.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
DependencyNodeVisitor.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
SerializingDependencyNodeVisitor.endVisit
(DependencyNode node) Ends the visit to to the specified dependency node.private void
SerializingDependencyNodeVisitor.indent
(DependencyNode node) Writes the necessary tokens to indent the specified dependency node to this visitor's writer.private boolean
SerializingDependencyNodeVisitor.isLast
(DependencyNode node) Gets whether the specified dependency node is the last of its siblings.private boolean
SerializingDependencyNodeVisitor.isLast
(DependencyNode node, int ancestorDepth) Gets whether the specified dependency node ancestor is the last of its siblings.boolean
BuildingDependencyNodeVisitor.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
DependencyNodeVisitor.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
SerializingDependencyNodeVisitor.visit
(DependencyNode node) Starts the visit to the specified dependency node.