Enum Class QueueItemAction.QueueState
java.lang.Object
java.lang.Enum<QueueItemAction.QueueState>
org.jenkinsci.plugins.workflow.actions.QueueItemAction.QueueState
- All Implemented Interfaces:
Serializable,Comparable<QueueItemAction.QueueState>,Constable
- Enclosing class:
- QueueItemAction
Possible queue states for the item associated with this
FlowNode.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheQueue.Itemhas actually launched, meaning it has left the queue and there is aWorkspaceActionpresent on theFlowNode.TheQueue.Itemis currently in the queue.TheFlowNodehas neither aQueueItemActionnor aWorkspaceAction, so its queue status cannot be determined. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueueItemAction.QueueStateReturns the enum constant of this class with the specified name.static QueueItemAction.QueueState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUEUED
TheQueue.Itemis currently in the queue. -
CANCELLED
-
LAUNCHED
TheQueue.Itemhas actually launched, meaning it has left the queue and there is aWorkspaceActionpresent on theFlowNode. -
UNKNOWN
TheFlowNodehas neither aQueueItemActionnor aWorkspaceAction, so its queue status cannot be determined. This may be the case if theFlowNodeis not actually for a node block.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-