Interface NodeGraphBuilder
- All Known Implementing Classes:
PipelineNodeGraphVisitor
public interface NodeGraphBuilder
Pipeline node graph builder
- Author:
- Vivek Pandey
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Factory to give pipeline DAG builder -
Method Summary
Modifier and TypeMethodDescriptionGives all pipeline nodes DAG graphList<io.jenkins.blueocean.rest.model.BluePipelineNode>
getPipelineNodes
(io.jenkins.blueocean.rest.hal.Link parent) Gives DAG graph as list ofBluePipelineNode
io.jenkins.blueocean.rest.model.BluePipelineStep
getPipelineNodeStep
(String id, io.jenkins.blueocean.rest.hal.Link parent) Give the step for given idList<io.jenkins.blueocean.rest.model.BluePipelineStep>
getPipelineNodeSteps
(io.jenkins.blueocean.rest.hal.Link parent) Gives all the steps in this pipelineList<io.jenkins.blueocean.rest.model.BluePipelineStep>
getPipelineNodeSteps
(String nodeId, io.jenkins.blueocean.rest.hal.Link parent) Gives all the steps inside given nodeIdList<io.jenkins.blueocean.rest.model.BluePipelineNode>
union
(List<FlowNodeWrapper> lastBuildGraph, io.jenkins.blueocean.rest.hal.Link parent) Create union of last successful run and this partial run
-
Method Details
-
getPipelineNodes
List<FlowNodeWrapper> getPipelineNodes()Gives all pipeline nodes DAG graph -
getPipelineNodes
List<io.jenkins.blueocean.rest.model.BluePipelineNode> getPipelineNodes(io.jenkins.blueocean.rest.hal.Link parent) Gives DAG graph as list ofBluePipelineNode
-
getPipelineNodeSteps
List<io.jenkins.blueocean.rest.model.BluePipelineStep> getPipelineNodeSteps(String nodeId, io.jenkins.blueocean.rest.hal.Link parent) Gives all the steps inside given nodeId -
getPipelineNodeSteps
List<io.jenkins.blueocean.rest.model.BluePipelineStep> getPipelineNodeSteps(io.jenkins.blueocean.rest.hal.Link parent) Gives all the steps in this pipeline -
getPipelineNodeStep
io.jenkins.blueocean.rest.model.BluePipelineStep getPipelineNodeStep(String id, io.jenkins.blueocean.rest.hal.Link parent) Give the step for given id -
union
List<io.jenkins.blueocean.rest.model.BluePipelineNode> union(List<FlowNodeWrapper> lastBuildGraph, io.jenkins.blueocean.rest.hal.Link parent) Create union of last successful run and this partial run
-