com.ptc.windchill.cadx.saveas
Class DocCentricDependencyTracer.SaveAsVisitor

java.lang.Object
  extended bywt.epm.structure.DependencyGraph.AbstractVisitor
      extended bycom.ptc.windchill.cadx.saveas.DocCentricDependencyTracer.SaveAsVisitor
All Implemented Interfaces:
DependencyGraph.Visitor
Enclosing class:
DocCentricDependencyTracer

class DocCentricDependencyTracer.SaveAsVisitor
extends DependencyGraph.AbstractVisitor


Field Summary
 
Fields inherited from class wt.epm.structure.DependencyGraph.AbstractVisitor
requiredOnly, results
 
Constructor Summary
DocCentricDependencyTracer.SaveAsVisitor(boolean required)
           
 
Method Summary
 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.
 
Methods inherited from class wt.epm.structure.DependencyGraph.AbstractVisitor
getResults, keep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocCentricDependencyTracer.SaveAsVisitor

public DocCentricDependencyTracer.SaveAsVisitor(boolean required)
Method Detail

visit

public boolean visit(Persistable node,
                     DependencyGraph.Dependency dependency,
                     Iterated fromNode,
                     boolean previouslyVisited)
Description copied from interface: DependencyGraph.Visitor
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

Specified by:
visit in interface DependencyGraph.Visitor
Overrides:
visit in class DependencyGraph.AbstractVisitor