public static final class Queue.LeftItem extends Queue.Item
Item in the Queue.leftItems stage. These are items that had left the queue
by either began executing or by getting cancelled.ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem| Modifier and Type | Field and Description |
|---|---|
WorkUnitContext |
outcome |
task| Constructor and Description |
|---|
LeftItem(Queue.Item cancelled)
When item is cancelled.
|
LeftItem(WorkUnitContext wuc)
When item has left the queue and begin executing.
|
| Modifier and Type | Method and Description |
|---|---|
CauseOfBlockage |
getCauseOfBlockage()
Gets an object that describes why this item is in the queue.
|
Queue.Executable |
getExecutable()
If this is representing an item that started executing, this property returns
the primary executable (such as
AbstractBuild) that created out of it. |
boolean |
isCancelled()
Is this representing a cancelled item?
|
authenticate, doCancelQueue, getApi, getAssignedLabel, getAssignedLabelFor, getCauses, getCausesDescription, getDisplayName, getFuture, getId, getIdLegacy, getInQueueForString, getInQueueSince, getParams, getSearchUrl, getUrl, getWhy, hasCancelPermission, isBlocked, isBuildable, isStuck, toStringaddAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, replaceActiongetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorpublic final WorkUnitContext outcome
public LeftItem(WorkUnitContext wuc)
public LeftItem(Queue.Item cancelled)
public CauseOfBlockage getCauseOfBlockage()
Queue.ItemgetCauseOfBlockage in class Queue.Item@Exported @CheckForNull public Queue.Executable getExecutable()
AbstractBuild) that created out of it.@Exported public boolean isCancelled()
Copyright © 2019. All rights reserved.