Class PipelineNodeImpl
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BluePipelineStep
io.jenkins.blueocean.rest.model.BluePipelineNode
io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl
- All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable
public class PipelineNodeImpl
extends io.jenkins.blueocean.rest.model.BluePipelineNode
Implementation of
BluePipelineNode
.- Author:
- Vivek Pandey
- See Also:
-
FlowNode
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.blueocean.rest.model.BluePipelineNode
io.jenkins.blueocean.rest.model.BluePipelineNode.Edge
-
Field Summary
Fields inherited from class io.jenkins.blueocean.rest.model.BluePipelineStep
ACTIONS, DISPLAY_DESCRIPTION, DISPLAY_NAME, DURATION_IN_MILLIS, EDGES, ID, RESULT, START_TIME, TYPE
-
Constructor Summary
ConstructorDescriptionPipelineNodeImpl
(FlowNodeWrapper node, io.jenkins.blueocean.rest.Reachable parent, org.jenkinsci.plugins.workflow.job.WorkflowRun run) -
Method Summary
Modifier and TypeMethodDescriptionCollection<io.jenkins.blueocean.rest.model.BlueActionProxy>
List<io.jenkins.blueocean.rest.model.BluePipelineNode.Edge>
getEdges()
getId()
io.jenkins.blueocean.rest.model.BlueInputStep
io.jenkins.blueocean.rest.hal.Link
getLink()
getLog()
Appended logs of steps.io.jenkins.blueocean.rest.model.BlueRun.BlueRunResult
protected static org.jenkinsci.plugins.workflow.job.WorkflowRun
getRun
(org.jenkinsci.plugins.workflow.job.WorkflowJob job, long itemId) io.jenkins.blueocean.rest.model.BlueRun.BlueRunState
io.jenkins.blueocean.rest.model.BluePipelineStepContainer
getSteps()
getType()
boolean
org.kohsuke.stapler.HttpResponse
restart
(org.kohsuke.stapler.StaplerRequest request) org.kohsuke.stapler.HttpResponse
submitInputStep
(org.kohsuke.stapler.StaplerRequest request) toString()
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
Field Details
-
waitJobInqueueTimeout
public static final int waitJobInqueueTimeout
-
-
Constructor Details
-
PipelineNodeImpl
public PipelineNodeImpl(FlowNodeWrapper node, io.jenkins.blueocean.rest.Reachable parent, org.jenkinsci.plugins.workflow.job.WorkflowRun run)
-
-
Method Details
-
getId
- Specified by:
getId
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getDisplayName
- Specified by:
getDisplayName
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getDisplayDescription
- Specified by:
getDisplayDescription
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getResult
public io.jenkins.blueocean.rest.model.BlueRun.BlueRunResult getResult()- Specified by:
getResult
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getStateObj
public io.jenkins.blueocean.rest.model.BlueRun.BlueRunState getStateObj()- Specified by:
getStateObj
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getFirstParent
- Specified by:
getFirstParent
in classio.jenkins.blueocean.rest.model.BluePipelineNode
-
getStartTime
- Specified by:
getStartTime
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getStartTimeString
- Specified by:
getStartTimeString
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getEdges
- Specified by:
getEdges
in classio.jenkins.blueocean.rest.model.BluePipelineNode
-
getDurationInMillis
- Specified by:
getDurationInMillis
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getLog
Appended logs of steps.- Specified by:
getLog
in classio.jenkins.blueocean.rest.model.BluePipelineStep
- See Also:
-
BluePipelineStep.getLog()
-
getType
- Specified by:
getType
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getStepType
- Specified by:
getStepType
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
getCauseOfBlockage
- Specified by:
getCauseOfBlockage
in classio.jenkins.blueocean.rest.model.BluePipelineNode
-
getSteps
public io.jenkins.blueocean.rest.model.BluePipelineStepContainer getSteps()- Specified by:
getSteps
in classio.jenkins.blueocean.rest.model.BluePipelineNode
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink() -
getActions
- Specified by:
getActions
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
isRestartable
public boolean isRestartable()- Specified by:
isRestartable
in classio.jenkins.blueocean.rest.model.BluePipelineNode
-
getInputStep
public io.jenkins.blueocean.rest.model.BlueInputStep getInputStep()- Specified by:
getInputStep
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
submitInputStep
public org.kohsuke.stapler.HttpResponse submitInputStep(org.kohsuke.stapler.StaplerRequest request) - Specified by:
submitInputStep
in classio.jenkins.blueocean.rest.model.BluePipelineStep
-
restart
public org.kohsuke.stapler.HttpResponse restart(org.kohsuke.stapler.StaplerRequest request) - Specified by:
restart
in classio.jenkins.blueocean.rest.model.BluePipelineNode
-
getRun
protected static org.jenkinsci.plugins.workflow.job.WorkflowRun getRun(org.jenkinsci.plugins.workflow.job.WorkflowJob job, long itemId) throws InterruptedException - Throws:
InterruptedException
-
toString
-