Class PipelineGraphApi

java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.PipelineGraphApi

public class PipelineGraphApi extends Object
  • Constructor Details

    • PipelineGraphApi

      public PipelineGraphApi(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
  • Method Details

    • createTree

      public PipelineGraph createTree()
    • computeTree

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public PipelineGraph computeTree()
      Uncached compute path; callers are responsible for any caching.
    • createTreeFrom

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public PipelineGraph createTreeFrom(PipelineGraphBuilderApi builder, @CheckForNull List<org.jenkinsci.plugins.workflow.graph.FlowNode> workspaceNodes, @CheckForNull Map<String,List<String>> enclosingIdsByNodeId)
      Builds a PipelineGraph from a caller-supplied adapter, workspace-node list, and optional pre-computed ancestry map. Doesn't touch the live-state DTO cache — caller owns caching.