Interface NodeGraphBuilder

  • All Known Implementing Classes:
    PipelineNodeGraphVisitor

    public interface NodeGraphBuilder
    Pipeline node graph builder
    Author:
    Vivek Pandey
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<FlowNodeWrapper> getPipelineNodes()
      Gives all pipeline nodes DAG graph
      List<io.jenkins.blueocean.rest.model.BluePipelineNode> getPipelineNodes​(io.jenkins.blueocean.rest.hal.Link parent)
      Gives DAG graph as list of BluePipelineNode
      io.jenkins.blueocean.rest.model.BluePipelineStep getPipelineNodeStep​(String id, io.jenkins.blueocean.rest.hal.Link parent)
      Give the step for given id
      List<io.jenkins.blueocean.rest.model.BluePipelineStep> getPipelineNodeSteps​(io.jenkins.blueocean.rest.hal.Link parent)
      Gives all the steps in this pipeline
      List<io.jenkins.blueocean.rest.model.BluePipelineStep> getPipelineNodeSteps​(String nodeId, io.jenkins.blueocean.rest.hal.Link parent)
      Gives all the steps inside given nodeId
      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
    • Method Detail

      • 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 of BluePipelineNode
      • 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