Enum QueueItemAction.QueueState
java.lang.Object
java.lang.Enum<QueueItemAction.QueueState>
org.jenkinsci.plugins.workflow.actions.QueueItemAction.QueueState
- All Implemented Interfaces:
Serializable
,Comparable<QueueItemAction.QueueState>
- Enclosing class:
- QueueItemAction
Possible queue states for the item associated with this
FlowNode
.-
Enum Constant Summary
Enum ConstantDescriptionTheQueue.Item
has actually launched, meaning it has left the queue and there is aWorkspaceAction
present on theFlowNode
.TheQueue.Item
is currently in the queue.TheFlowNode
has neither aQueueItemAction
nor aWorkspaceAction
, so its queue status cannot be determined. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueueItemAction.QueueState
Returns the enum constant of this type with the specified name.static QueueItemAction.QueueState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
QUEUED
TheQueue.Item
is currently in the queue. -
CANCELLED
-
LAUNCHED
TheQueue.Item
has actually launched, meaning it has left the queue and there is aWorkspaceAction
present on theFlowNode
. -
UNKNOWN
TheFlowNode
has neither aQueueItemAction
nor aWorkspaceAction
, so its queue status cannot be determined. This may be the case if theFlowNode
is not actually for a node block.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-