wt.epm.structure
Interface DependencyGraph.Visitor
- All Known Implementing Classes:
- DependencyGraph.AbstractVisitor
- Enclosing interface:
- DependencyGraph
- public static interface DependencyGraph.Visitor
visit
public boolean visit(Persistable node,
DependencyGraph.Dependency dependency,
Iterated fromNode,
boolean previouslyVisited)
- Decides whether or not to continue the traversal upwards or downwards starting
with the given node.
Notes:
a) The "node" may be either an iteration or a master depending upon what
the configuration spec selected.
b) The immediate dependents of the root objects are the first "nodes" that
the Vistor will visit. The Vistor will visit a root object only if it
is a dependent of another root object (or a circular dependency exists).
c) An EPM document may have circular dependencies. If a Vistor elects to
visit previously visited nodes, it must check for circular dependencies
otherwise an infinite loop may result.
Supported API: false
- Returns:
- whether or not to continue the traversal
getResults
public Collection getResults()
- Returns the objects that the vistor collected during the traversal.
Supported API: false
- Returns:
- objects that the vistor collected