Class NodeTreeCollector

java.lang.Object
org.saidone.collectors.AbstractNodeCollector
org.saidone.collectors.NodeTreeCollector
All Implemented Interfaces:
NodeCollector

@Component public class NodeTreeCollector extends AbstractNodeCollector
Walks a node tree starting from a given root node or path and collects the identifiers of all descendant nodes.
  • Constructor Details

    • NodeTreeCollector

      public NodeTreeCollector()
  • Method Details

    • collectNodes

      public void collectNodes(CollectorConfig config)
      Traverses the node tree starting from the root defined by node-id or path arguments and queues descendant node identifiers.
      Parameters:
      config - collector configuration