Class SkippedStageCache

java.lang.Object
io.jenkins.plugins.pipelinegraphview.livestate.SkippedStageCache

public final class SkippedStageCache extends Object
Per-run cache of PipelineNodeUtil.isSkippedStage(org.jenkinsci.plugins.workflow.graph.FlowNode) results, keyed by node ID. Skip tags are attached by the declarative pipeline framework at block start and never change afterwards, so the boolean can be memoised for the lifetime of the run.
  • Method Details

    • getOrCompute

      public boolean getOrCompute(@NonNull String nodeId, @NonNull Supplier<Boolean> computer)