Class PipelineNodeGraphAdapter
java.lang.Object
io.jenkins.plugins.pipelinegraphview.treescanner.PipelineNodeGraphAdapter
- All Implemented Interfaces:
PipelineGraphBuilderApi
,PipelineStepBuilderApi
public class PipelineNodeGraphAdapter
extends Object
implements PipelineGraphBuilderApi, PipelineStepBuilderApi
- Author:
- Tim Brown Adapter class that runs a 'PipelineNodeTreeVisitor' and adapts the outputs to look more like that of the original PipelineGraphNodeVisitor. The original PipelineGraphNodeVisitor code can be found here: https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/PipelineNodeTreeVisitor.java
-
Constructor Summary
ConstructorDescriptionPipelineNodeGraphAdapter
(org.jenkinsci.plugins.workflow.job.WorkflowRun run) -
Method Summary
-
Constructor Details
-
PipelineNodeGraphAdapter
public PipelineNodeGraphAdapter(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
-
-
Method Details
-
getPipelineNodes
- Specified by:
getPipelineNodes
in interfacePipelineGraphBuilderApi
-
getAllSteps
- Specified by:
getAllSteps
in interfacePipelineStepBuilderApi
-
getStageSteps
- Specified by:
getStageSteps
in interfacePipelineStepBuilderApi
-
getStep
-