Class AbstractPipelineNode

java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.AbstractPipelineNode
Direct Known Subclasses:
PipelineStage, PipelineStep

public class AbstractPipelineNode extends Object
  • Field Details

  • Constructor Details

    • AbstractPipelineNode

      public AbstractPipelineNode(String id, String name, PipelineState state, String type, String title, TimingInfo timingInfo, String causeOfBlockage)
    • AbstractPipelineNode

      protected AbstractPipelineNode(String id, String name, PipelineState state, String type, String title, long pauseDurationMillis, Long totalDurationMillis, long startTimeMillis, String causeOfBlockage)
      Read-back constructor for the cached wire JSON. The wire shape splits TimingInfo into three flat millis fields (and omits totalDurationMillis when in-progress); we rebuild a TimingInfo so the rest of the object behaves identically to one produced by the live compute path.
  • Method Details

    • getStartTimeMillis

      public long getStartTimeMillis()
    • getTotalDurationMillis

      public Long getTotalDurationMillis()
    • getCauseOfBlockage

      public String getCauseOfBlockage()
    • getName

      public String getName()
    • getState

      public PipelineState getState()
    • getType

      public String getType()
    • getTitle

      public String getTitle()
    • getId

      public String getId()
    • getPauseDurationMillis

      public long getPauseDurationMillis()
    • getTimingInfo

      public TimingInfo getTimingInfo()