Class FlowNodeWrapper
java.lang.Object
io.jenkins.blueocean.rest.impl.pipeline.FlowNodeWrapper
- Author:
- Vivek Pandey
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionFlowNodeWrapper(org.jenkinsci.plugins.workflow.graph.FlowNode node, NodeRunStatus status, org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo timingInfo, org.jenkinsci.plugins.workflow.job.WorkflowRun run) FlowNodeWrapper(org.jenkinsci.plugins.workflow.graph.FlowNode node, NodeRunStatus status, org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo timingInfo, org.jenkinsci.plugins.workflow.support.steps.input.InputStep inputStep, org.jenkinsci.plugins.workflow.job.WorkflowRun run) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddEdge(FlowNodeWrapper edge) voidaddEdges(List<FlowNodeWrapper> edges) voidaddParent(FlowNodeWrapper parent) voidaddParents(Collection<FlowNodeWrapper> parents) booleangetId()org.jenkinsci.plugins.workflow.support.steps.input.InputSteporg.jenkinsci.plugins.workflow.graph.FlowNodegetNode()Returns Action instances that were attached to the associated FlowNode, or to any of its children not represented in the graph.<T extends Action>
 Collection<T> getPipelineActions(Class<T> clazz) Returns Action instances that were attached to the associated FlowNode, or to any of its children not represented in the graph.org.jenkinsci.plugins.workflow.job.WorkflowRungetRun()org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfogetType()inthashCode()booleanChecks to see if `this` and `that` probably represent the same underlying pipeline graph node as far as the user is concerned.voidsetBlockErrorAction(org.jenkinsci.plugins.workflow.actions.ErrorAction blockErrorAction) voidsetCauseOfFailure(String causeOfFailure) voidsetPipelineActions(Collection<Action> pipelineActions) toString()
- 
Field Details- 
edges
- 
type
 
- 
- 
Constructor Details- 
FlowNodeWrapperpublic FlowNodeWrapper(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node, @NonNull NodeRunStatus status, @NonNull org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo timingInfo, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) 
- 
FlowNodeWrapperpublic FlowNodeWrapper(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node, @NonNull NodeRunStatus status, @NonNull org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo timingInfo, @Nullable org.jenkinsci.plugins.workflow.support.steps.input.InputStep inputStep, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) 
 
- 
- 
Method Details- 
probablySameNodeChecks to see if `this` and `that` probably represent the same underlying pipeline graph node as far as the user is concerned. This is sloppier than an exact name and ID match becausePipelineNodeGraphVisitoras of 2019-05-17 can return some nodes with different IDs during a build as opposed to once the build is complete. As such we check name, type, and firstParent. But we need to check firstParent the same way for the same reason.- Parameters:
- that-
- Returns:
 
- 
getRunpublic org.jenkinsci.plugins.workflow.job.WorkflowRun getRun()
- 
getDisplayName
- 
getStatus
- 
getTiming@NonNull public org.jenkinsci.plugins.workflow.pipelinegraphanalysis.TimingInfo getTiming()
- 
getId
- 
getNode@NonNull public org.jenkinsci.plugins.workflow.graph.FlowNode getNode()
- 
getType
- 
addEdge
- 
addEdges
- 
addParent
- 
addParents
- 
getFirstParent
- 
getParents
- 
getCauseOfFailure
- 
setCauseOfFailure
- 
equals
- 
getInputStep@CheckForNull public org.jenkinsci.plugins.workflow.support.steps.input.InputStep getInputStep()
- 
hashCodepublic int hashCode()
- 
toString
- 
setBlockErrorActionpublic void setBlockErrorAction(org.jenkinsci.plugins.workflow.actions.ErrorAction blockErrorAction) 
- 
getPipelineActionsReturns Action instances that were attached to the associated FlowNode, or to any of its children not represented in the graph. Filters by class to mimic Item.getActions(class).
- 
getPipelineActionsReturns Action instances that were attached to the associated FlowNode, or to any of its children not represented in the graph.
- 
setPipelineActions
 
-