Enum Class GenericStatus

java.lang.Object
java.lang.Enum<GenericStatus>
io.jenkins.plugins.pipelinegraphview.analysis.GenericStatus
All Implemented Interfaces:
Serializable, Comparable<GenericStatus>, Constable

public enum GenericStatus extends Enum<GenericStatus>
Statuses of a FlowChunk in increasing priority order Note, when adding new statuses you need to add a new StatusAndTiming.StatusApiVersion and set the value of StatusAndTiming.CURRENT_API_VERSION to that, and update StatusAndTiming.coerceStatusMap(Map) to do coercion for new codings to protect core APIs from unknown values
  • Enum Constant Details

    • NOT_EXECUTED

      public static final GenericStatus NOT_EXECUTED
      We resumed from checkpoint or Result.NOT_BUILT status - nothing ran in the chunk.
    • SUCCESS

      public static final GenericStatus SUCCESS
      Completed & successful, ex Result.SUCCESS
    • UNSTABLE

      public static final GenericStatus UNSTABLE
      Completed with recoverable failures, such as noncritical tests, ex Result.UNSTABLE
    • QUEUED

      public static final GenericStatus QUEUED
      Not complete: still executing, in a node block, but the node block is in queue.
    • IN_PROGRESS

      public static final GenericStatus IN_PROGRESS
      Not complete: still executing, waiting for a result
    • FAILURE

      public static final GenericStatus FAILURE
      Completed and explicitly failed, i.e. Result.FAILURE
    • ABORTED

      public static final GenericStatus ABORTED
      Aborted while running, no way to determine final outcome Result.ABORTED
    • PAUSED_PENDING_INPUT

      public static final GenericStatus PAUSED_PENDING_INPUT
      Not complete: we are waiting for user input to continue (special case of IN_PROGRESS)
  • Method Details

    • values

      public static GenericStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GenericStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromResult

      public static GenericStatus fromResult(Result result)
      Create a GenericStatus from a Result