Uses of Package
org.jenkinsci.plugins.workflow.graphanalysis
Package
Description
Provides a library of methods to work with and analyze the graph of
FlowNode
s produced from a pipeline execution.-
ClassDescriptionCore APIs and base logic for FlowScanners that extract information from a pipeline execution.Think of this as setting conditions to mark a region of interest in the graph of
FlowNode
from aFlowExecution
.Iterator that may be navigated through a filtered wrapper.Common container interface for a series ofFlowNode
s with a logical start and end.FlowChunk with information about what comes before/afterInterface used when examining a pipeline FlowNode graph node by node, and terminating when a condition is metScanner that will scan down all forks when we hit parallel blocks before continuing (as opposed toDepthFirstScanner
), but generally runs in linear order.Scans through the flow graph in strictly linear fashion, visiting only the first branch in parallel blocks.FlowChunk that holds direct references to theFlowNode
instances and context info This makes it easy to use in analysis and visualizations, but inappropriate to retain in caches, etcFlowChunk mapping to the block from a Parallel step (with parallel branches inside)This visitor's callbacks are invoked as we walk through a pipeline flow graph, and it splits it into chunks.