Class PipelineGraphApi
java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.PipelineGraphApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUncached compute path; callers are responsible for any caching.createTreeFrom(PipelineGraphBuilderApi builder, List<org.jenkinsci.plugins.workflow.graph.FlowNode> workspaceNodes, Map<String, List<String>> enclosingIdsByNodeId) Builds aPipelineGraphfrom a caller-supplied adapter, workspace-node list, and optional pre-computed ancestry map.
-
Constructor Details
-
PipelineGraphApi
public PipelineGraphApi(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
-
-
Method Details
-
createTree
-
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 aPipelineGraphfrom a caller-supplied adapter, workspace-node list, and optional pre-computed ancestry map. Doesn't touch the live-state DTO cache — caller owns caching.
-