Package hudson.model
Class Queue.LeftItem
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.Queue.Item
hudson.model.Queue.LeftItem
- All Implemented Interfaces:
ModelObject
,SearchableModelObject
,SearchItem
,ModelObjectWithContextMenu
,QueueItem
- Enclosing class:
- Queue
Queue.Item
in the Queue.leftItems
stage. These are items that had left the queue
by either began executing or by getting cancelled.- Since:
- 1.519
-
Nested Class Summary
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
-
Field Summary
Fields inherited from class hudson.model.Queue.Item
task
-
Constructor Summary
ConstructorDescriptionLeftItem
(Queue.Item cancelled) When item is cancelled.LeftItem
(WorkUnitContext wuc) When item has left the queue and begin executing. -
Method Summary
Modifier and TypeMethodDescriptionGets an object that describes why this item is in the queue.If this is representing an item that started executing, this property returns the primary executable (such asAbstractBuild
) that created out of it.boolean
Is this representing a cancelled item?Methods inherited from class hudson.model.Queue.Item
authenticate, authenticate2, doCancelQueue, doIndex, getApi, getAssignedLabel, getAssignedLabelFor, getCauses, getCausesDescription, getFuture, getId, getIdLegacy, getInQueueForString, getInQueueSince, getParams, getSearchUrl, getTask, getUrl, getWhy, isBlocked, isBuildable, isStuck, readResolve, toString
Methods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActions
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jenkins.model.queue.QueueItem
getDisplayName, hasCancelPermission
-
Field Details
-
outcome
-
-
Constructor Details
-
LeftItem
When item has left the queue and begin executing. -
LeftItem
When item is cancelled.
-
-
Method Details
-
getCauseOfBlockage
Description copied from class:Queue.Item
Gets an object that describes why this item is in the queue.- Specified by:
getCauseOfBlockage
in classQueue.Item
-
getExecutable
If this is representing an item that started executing, this property returns the primary executable (such asAbstractBuild
) that created out of it. -
isCancelled
@Exported public boolean isCancelled()Is this representing a cancelled item?
-