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

      public String getId()
      Specified by:
      getId in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getDisplayDescription

      public String getDisplayDescription()
      Specified by:
      getDisplayDescription in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getResult

      public io.jenkins.blueocean.rest.model.BlueRun.BlueRunResult getResult()
      Specified by:
      getResult in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getStateObj

      public io.jenkins.blueocean.rest.model.BlueRun.BlueRunState getStateObj()
      Specified by:
      getStateObj in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getFirstParent

      @CheckForNull public String getFirstParent()
      Specified by:
      getFirstParent in class io.jenkins.blueocean.rest.model.BluePipelineNode
    • getStartTime

      public Date getStartTime()
      Specified by:
      getStartTime in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getStartTimeString

      public String getStartTimeString()
      Specified by:
      getStartTimeString in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getEdges

      public List<io.jenkins.blueocean.rest.model.BluePipelineNode.Edge> getEdges()
      Specified by:
      getEdges in class io.jenkins.blueocean.rest.model.BluePipelineNode
    • getDurationInMillis

      public Long getDurationInMillis()
      Specified by:
      getDurationInMillis in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getLog

      public Object getLog()
      Appended logs of steps.
      Specified by:
      getLog in class io.jenkins.blueocean.rest.model.BluePipelineStep
      See Also:
      • BluePipelineStep.getLog()
    • getType

      public String getType()
      Specified by:
      getType in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getStepType

      public String getStepType()
      Specified by:
      getStepType in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • getCauseOfBlockage

      public String getCauseOfBlockage()
      Specified by:
      getCauseOfBlockage in class io.jenkins.blueocean.rest.model.BluePipelineNode
    • getSteps

      public io.jenkins.blueocean.rest.model.BluePipelineStepContainer getSteps()
      Specified by:
      getSteps in class io.jenkins.blueocean.rest.model.BluePipelineNode
    • getLink

      public io.jenkins.blueocean.rest.hal.Link getLink()
    • getActions

      public Collection<io.jenkins.blueocean.rest.model.BlueActionProxy> getActions()
      Specified by:
      getActions in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • isRestartable

      public boolean isRestartable()
      Specified by:
      isRestartable in class io.jenkins.blueocean.rest.model.BluePipelineNode
    • getInputStep

      public io.jenkins.blueocean.rest.model.BlueInputStep getInputStep()
      Specified by:
      getInputStep in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • submitInputStep

      public org.kohsuke.stapler.HttpResponse submitInputStep(org.kohsuke.stapler.StaplerRequest request)
      Specified by:
      submitInputStep in class io.jenkins.blueocean.rest.model.BluePipelineStep
    • restart

      public org.kohsuke.stapler.HttpResponse restart(org.kohsuke.stapler.StaplerRequest request)
      Specified by:
      restart in class io.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

      public String toString()
      Overrides:
      toString in class Object