Class PipelineStepApi
java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.PipelineStepApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUncached compute path; callers are responsible for any caching.getAllStepsFrom(PipelineStepBuilderApi builder, boolean runIsComplete) Builds aPipelineStepListfrom a caller-supplied adapter.getAllStepsFrom(PipelineStepBuilderApi builder, boolean runIsComplete, Set<String> hideFromViewBlockStartIds, Map<String, List<String>> enclosingIdsByNodeId) Same asgetAllStepsFrom(PipelineStepBuilderApi, boolean)but with pre-computed snapshot data so feature-flag resolution doesn't need to walk enclosing blocks per step.
-
Constructor Details
-
PipelineStepApi
public PipelineStepApi(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
-
-
Method Details
-
getSteps
-
getAllSteps
-
computeAllSteps
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public PipelineStepList computeAllSteps()Uncached compute path; callers are responsible for any caching. -
getAllStepsFrom
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public PipelineStepList getAllStepsFrom(PipelineStepBuilderApi builder, boolean runIsComplete) Builds aPipelineStepListfrom a caller-supplied adapter. Doesn't touch the live-state DTO cache — caller owns caching. -
getAllStepsFrom
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public PipelineStepList getAllStepsFrom(PipelineStepBuilderApi builder, boolean runIsComplete, @CheckForNull Set<String> hideFromViewBlockStartIds, @CheckForNull Map<String, List<String>> enclosingIdsByNodeId) Same asgetAllStepsFrom(PipelineStepBuilderApi, boolean)but with pre-computed snapshot data so feature-flag resolution doesn't need to walk enclosing blocks per step.
-