Class PipelineStepApi

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

public class PipelineStepApi extends Object
  • Constructor Details

    • PipelineStepApi

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

    • getSteps

      public PipelineStepList getSteps(String stageId)
    • getAllSteps

      public PipelineStepList getAllSteps()
    • getLegacySteps

      protected PipelineStepList getLegacySteps(String stageId)
      Find steps using the legacy PipelineStepVisitor class. This is useful for testing and could be useful for bridging the gap between representations.
    • getAllLegacySteps

      protected PipelineStepList getAllLegacySteps()
      Gets all steps using the legacy PipelineStepVisitor class. This is useful for testing and could be useful for bridging the gap between representations. Returns a PipelineStepList, sorted by stageId and Id.