Class PipelineNodeTreeScanner

java.lang.Object
io.jenkins.plugins.pipelinegraphview.treescanner.PipelineNodeTreeScanner

public class PipelineNodeTreeScanner extends Object
Generates a Tree Representation of the DAG.
Author:
Tim Brown
  • Constructor Details

    • PipelineNodeTreeScanner

      public PipelineNodeTreeScanner(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run)
    • PipelineNodeTreeScanner

      public PipelineNodeTreeScanner(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run, @NonNull Collection<org.jenkinsci.plugins.workflow.graph.FlowNode> nodes, @CheckForNull Map<String,List<String>> enclosingIdsByNodeId, @CheckForNull Set<String> activeNodeIds)
      Builds from a caller-supplied node collection, skipping the DepthFirstScanner walk. The caller is responsible for having observed every node already. Supply enclosingIdsByNodeId to read ancestry from the map instead of FlowNode storage, and activeNodeIds to use the set for liveness checks instead of FlowNode.isActive().
  • Method Details