public final class PostorderNodeListGenerator extends AbstractDepthFirstNodeListGenerator
| Modifier and Type | Field and Description |
|---|---|
private Stack<java.lang.Boolean> |
visits |
nodes| Constructor and Description |
|---|
PostorderNodeListGenerator()
Creates a new postorder list generator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
visitEnter(DependencyNode node)
Notifies the visitor of a node visit before its children have been processed.
|
boolean |
visitLeave(DependencyNode node)
Notifies the visitor of a node visit after its children have been processed.
|
getArtifacts, getClassPath, getDependencies, getFiles, getNodes, setVisitedprivate final Stack<java.lang.Boolean> visits
public PostorderNodeListGenerator()
public boolean visitEnter(DependencyNode node)
DependencyVisitorvisitEnter in interface DependencyVisitorvisitEnter in class AbstractDepthFirstNodeListGeneratornode - The dependency node being visited, must not be null.true to visit child nodes of the specified node as well, false to skip children.public boolean visitLeave(DependencyNode node)
DependencyVisitorvisitLeave in interface DependencyVisitorvisitLeave in class AbstractDepthFirstNodeListGeneratornode - The dependency node being visited, must not be null.true to visit siblings nodes of the specified node as well, false to skip siblings.