Uses of Interface
org.apache.maven.shared.dependency.graph.DependencyNode
-
-
Uses of DependencyNode in org.apache.maven.shared.dependency.graph
Methods in org.apache.maven.shared.dependency.graph that return DependencyNode Modifier and Type Method Description DependencyNode
DependencyGraphBuilder. buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Build the dependency graph.DependencyNode
DependencyGraphBuilder. buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter, java.util.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
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 Modifier and Type Method Description java.util.List<DependencyNode>
DependencyNode. getChildren()
-
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 DependencyNode Modifier and Type Field Description private java.util.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 DependencyNode Modifier and Type Method Description boolean
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 DependencyNode Constructor Description AncestorOrSelfDependencyNodeFilter(DependencyNode descendantNode)
Constructor parameters in org.apache.maven.shared.dependency.graph.filter with type arguments of type DependencyNode Constructor Description AncestorOrSelfDependencyNodeFilter(java.util.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 DependencyNode Modifier and Type Class Description class
DefaultDependencyNode
Default implementation of a DependencyNode.Fields in org.apache.maven.shared.dependency.graph.internal declared as DependencyNode Modifier and Type Field Description private DependencyNode
DefaultDependencyNode. parent
Fields in org.apache.maven.shared.dependency.graph.internal with type parameters of type DependencyNode Modifier and Type Field Description private java.util.List<DependencyNode>
DefaultDependencyNode. children
Methods in org.apache.maven.shared.dependency.graph.internal that return DependencyNode Modifier and Type Method Description DependencyNode
DefaultDependencyGraphBuilder. buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Builds a dependency graph.DependencyNode
DefaultDependencyGraphBuilder. buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter, java.util.Collection<org.apache.maven.project.MavenProject> reactorProjects)
Builds a dependency graph.DependencyNode
Maven31DependencyGraphBuilder. buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Builds the dependency graph for Maven 3.1+.DependencyNode
Maven31DependencyGraphBuilder. buildDependencyGraph(org.apache.maven.project.ProjectBuildingRequest buildingRequest, org.apache.maven.artifact.resolver.filter.ArtifactFilter filter, java.util.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)
DependencyNode
DefaultDependencyNode. getParent()
Methods in org.apache.maven.shared.dependency.graph.internal that return types with arguments of type DependencyNode Modifier and Type Method Description java.util.List<DependencyNode>
DefaultDependencyNode. getChildren()
Methods in org.apache.maven.shared.dependency.graph.internal with parameters of type DependencyNode Modifier and Type Method Description 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)
Method parameters in org.apache.maven.shared.dependency.graph.internal with type arguments of type DependencyNode Modifier and Type Method Description void
DefaultDependencyNode. setChildren(java.util.List<DependencyNode> children)
Constructors in org.apache.maven.shared.dependency.graph.internal with parameters of type DependencyNode Constructor Description DefaultDependencyNode(DependencyNode parent, org.apache.maven.artifact.Artifact artifact, java.lang.String premanagedVersion, java.lang.String premanagedScope, java.lang.String versionConstraint)
Constructs the DefaultDependencyNode.DefaultDependencyNode(DependencyNode parent, org.apache.maven.artifact.Artifact artifact, java.lang.String premanagedVersion, java.lang.String premanagedScope, java.lang.String versionConstraint, java.lang.Boolean optional)
-
Uses of DependencyNode in org.apache.maven.shared.dependency.graph.traversal
Fields in org.apache.maven.shared.dependency.graph.traversal declared as DependencyNode Modifier and Type Field Description private DependencyNode
BuildingDependencyNodeVisitor. rootNode
The root node of the resultant tree.Fields in org.apache.maven.shared.dependency.graph.traversal with type parameters of type DependencyNode Modifier and Type Field Description private java.util.List<DependencyNode>
CollectingDependencyNodeVisitor. nodes
The collected list of nodes.private java.util.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 DependencyNode Modifier and Type Method Description DependencyNode
BuildingDependencyNodeVisitor. 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 DependencyNode Modifier and Type Method Description java.util.List<DependencyNode>
CollectingDependencyNodeVisitor. getNodes()
Gets the list of collected dependency nodes.Methods in org.apache.maven.shared.dependency.graph.traversal with parameters of type DependencyNode Modifier and Type Method Description boolean
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.
-