public class PipelineNodeGraphBuilder extends Object implements NodeGraphBuilder
FlowGraphTable to BlueOcean specific model representing DAG like graph objects| Modifier and Type | Class and Description |
|---|---|
static class |
PipelineNodeGraphBuilder.InactiveFlowNodeWrapper
Deprecated.
|
NodeGraphBuilder.NodeGraphBuilderFactory| Constructor and Description |
|---|
PipelineNodeGraphBuilder(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpNodes(List<org.jenkinsci.plugins.workflow.graph.FlowNode> nodes)
Deprecated.
|
List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
getAllSteps()
Deprecated.
|
List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
getChildren(org.jenkinsci.plugins.workflow.graph.FlowNode parent)
Deprecated.
|
long |
getDurationInMillis(org.jenkinsci.plugins.workflow.graph.FlowNode node)
Deprecated.
|
org.jenkinsci.plugins.workflow.graph.FlowNode |
getNodeById(String id)
Deprecated.
|
List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
getParallelBranches()
Deprecated.
|
List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
getParallelBranchSteps(org.jenkinsci.plugins.workflow.graph.FlowNode p)
Deprecated.
|
List<FlowNodeWrapper> |
getPipelineNodes()
Deprecated.
Gives all pipeline nodes DAG graph
|
List<io.jenkins.blueocean.rest.model.BluePipelineNode> |
getPipelineNodes(io.jenkins.blueocean.rest.hal.Link parentLink)
Deprecated.
Gives DAG graph as list of
BluePipelineNode |
io.jenkins.blueocean.rest.model.BluePipelineStep |
getPipelineNodeStep(String id,
io.jenkins.blueocean.rest.hal.Link parent)
Deprecated.
Give the step for given id
|
List<io.jenkins.blueocean.rest.model.BluePipelineStep> |
getPipelineNodeSteps(io.jenkins.blueocean.rest.hal.Link parent)
Deprecated.
Gives all the steps in this pipeline
|
List<io.jenkins.blueocean.rest.model.BluePipelineStep> |
getPipelineNodeSteps(String nodeId,
io.jenkins.blueocean.rest.hal.Link parent)
Deprecated.
Gives all the steps inside given nodeId
|
List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
getSages()
Deprecated.
|
List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
getStageSteps(org.jenkinsci.plugins.workflow.graph.FlowNode p)
Deprecated.
|
List<org.jenkinsci.plugins.workflow.graph.FlowNode> |
getSteps(org.jenkinsci.plugins.workflow.graph.FlowNode node)
Deprecated.
|
List<io.jenkins.blueocean.rest.model.BluePipelineNode> |
union(List<FlowNodeWrapper> futureNodes,
io.jenkins.blueocean.rest.hal.Link parentLink)
Deprecated.
Create union of last successful run and this partial run
|
public PipelineNodeGraphBuilder(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
public org.jenkinsci.plugins.workflow.graph.FlowNode getNodeById(String id)
public List<org.jenkinsci.plugins.workflow.graph.FlowNode> getSteps(org.jenkinsci.plugins.workflow.graph.FlowNode node)
public List<org.jenkinsci.plugins.workflow.graph.FlowNode> getStageSteps(org.jenkinsci.plugins.workflow.graph.FlowNode p)
public List<org.jenkinsci.plugins.workflow.graph.FlowNode> getAllSteps()
public List<org.jenkinsci.plugins.workflow.graph.FlowNode> getParallelBranchSteps(org.jenkinsci.plugins.workflow.graph.FlowNode p)
public List<FlowNodeWrapper> getPipelineNodes()
NodeGraphBuildergetPipelineNodes in interface NodeGraphBuilderpublic List<io.jenkins.blueocean.rest.model.BluePipelineNode> getPipelineNodes(io.jenkins.blueocean.rest.hal.Link parentLink)
NodeGraphBuilderBluePipelineNodegetPipelineNodes in interface NodeGraphBuilderpublic List<io.jenkins.blueocean.rest.model.BluePipelineStep> getPipelineNodeSteps(String nodeId, io.jenkins.blueocean.rest.hal.Link parent)
NodeGraphBuildergetPipelineNodeSteps in interface NodeGraphBuilderpublic List<io.jenkins.blueocean.rest.model.BluePipelineStep> getPipelineNodeSteps(io.jenkins.blueocean.rest.hal.Link parent)
NodeGraphBuildergetPipelineNodeSteps in interface NodeGraphBuilderpublic io.jenkins.blueocean.rest.model.BluePipelineStep getPipelineNodeStep(String id, io.jenkins.blueocean.rest.hal.Link parent)
NodeGraphBuildergetPipelineNodeStep in interface NodeGraphBuilderpublic List<io.jenkins.blueocean.rest.model.BluePipelineNode> union(List<FlowNodeWrapper> futureNodes, io.jenkins.blueocean.rest.hal.Link parentLink)
NodeGraphBuilderunion in interface NodeGraphBuilderpublic List<org.jenkinsci.plugins.workflow.graph.FlowNode> getChildren(org.jenkinsci.plugins.workflow.graph.FlowNode parent)
public long getDurationInMillis(org.jenkinsci.plugins.workflow.graph.FlowNode node)
public void dumpNodes(List<org.jenkinsci.plugins.workflow.graph.FlowNode> nodes)
public List<org.jenkinsci.plugins.workflow.graph.FlowNode> getSages()
public List<org.jenkinsci.plugins.workflow.graph.FlowNode> getParallelBranches()
Copyright © 2016. All rights reserved.