Class NodeRunStatus

java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.NodeRunStatus

public class NodeRunStatus extends Object
Author:
Vivek Pandey
  • Field Details

  • Constructor Details

    • NodeRunStatus

      public NodeRunStatus(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode endNode)
    • NodeRunStatus

      public NodeRunStatus(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode endNode, @CheckForNull Set<String> activeNodeIds)
      When activeNodeIds is non-null, liveness is read from the set rather than from FlowNode.isActive().
    • NodeRunStatus

      public NodeRunStatus(BlueRun.BlueRunResult result, BlueRun.BlueRunState state)
    • NodeRunStatus

      public NodeRunStatus(GenericStatus status)
    • NodeRunStatus

      public NodeRunStatus(GenericStatus status, boolean skipped)
  • Method Details

    • combine

      @NonNull public static NodeRunStatus combine(@NonNull List<NodeRunStatus> statuses)
      Combines the statuses of several nodes shown together. The result is the worst one, ranked as Jenkins ranks build results. The state is the one that most needs attention: running, then paused, then queued, and finished only when all of them are.
    • getResult

      public BlueRun.BlueRunResult getResult()
    • getState

      public BlueRun.BlueRunState getState()
    • wasExecuted

      public boolean wasExecuted()