public class JsDependencyCollector
Collects the dependencies of a dependency tree into a list. The list is ordered so dependencies have a smaller index than their dependents.
| Constructor and Description |
|---|
JsDependencyCollector()
Collects the dependencies of a dependency tree into a list. The list is ordered so dependencies
have a smaller index than their dependents.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
endVisit(org.apache.maven.shared.dependency.graph.DependencyNode node)
Finishes visiting a node. Adds the artifact to the list of collected artifacts if it has
not already been collected from a visit to a different node.
|
java.util.List<org.apache.maven.artifact.Artifact> |
getDependencies()
The artifacts that have been collected.
|
java.util.Iterator<org.apache.maven.artifact.Artifact> |
iterator() |
boolean |
visit(org.apache.maven.shared.dependency.graph.DependencyNode node)
Starts visiting a node
|
public JsDependencyCollector()
Collects the dependencies of a dependency tree into a list. The list is ordered so dependencies have a smaller index than their dependents.
public java.util.List<org.apache.maven.artifact.Artifact> getDependencies()
The artifacts that have been collected.
public boolean visit(org.apache.maven.shared.dependency.graph.DependencyNode node)
Starts visiting a node
public boolean endVisit(org.apache.maven.shared.dependency.graph.DependencyNode node)
Finishes visiting a node. Adds the artifact to the list of collected artifacts if it has not already been collected from a visit to a different node.
public java.util.Iterator<org.apache.maven.artifact.Artifact> iterator()