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, authenticate2, doCancelQueue, getApi, getAssignedLabel, getAssignedLabelFor, getCauses, getCausesDescription, getDisplayName, getFuture, getId, getIdLegacy, getInQueueForString, getInQueueSince, getParams, getSearchUrl, getUrl, getWhy, hasCancelPermission, isBlocked, isBuildable, isStuck, readResolve, toString
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public final WorkUnitContext outcome
public LeftItem(WorkUnitContext wuc)
public LeftItem(Queue.Item cancelled)
public CauseOfBlockage getCauseOfBlockage()
Queue.Item
getCauseOfBlockage
in class Queue.Item
@Exported @CheckForNull public Queue.Executable getExecutable()
AbstractBuild
) that created out of it.@Exported public boolean isCancelled()
Copyright © 2004–2021. All rights reserved.