Package hudson.model
Class Queue.BuildableItem
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.Actionable
-
- hudson.model.Queue.Item
-
- hudson.model.Queue.NotWaitingItem
-
- hudson.model.Queue.BuildableItem
-
- All Implemented Interfaces:
ModelObject
,SearchableModelObject
,SearchItem
,ModelObjectWithContextMenu
- Enclosing class:
- Queue
public static final class Queue.BuildableItem extends Queue.NotWaitingItem
Queue.Item
in theQueue.buildables
stage.
-
-
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.NotWaitingItem
buildableStartMilliseconds
-
Fields inherited from class hudson.model.Queue.Item
task
-
-
Constructor Summary
Constructors Constructor Description BuildableItem(Queue.NotWaitingItem ni)
BuildableItem(Queue.WaitingItem wi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CauseOfBlockage
getCauseOfBlockage()
Gets an object that describes why this item is in the queue.boolean
isPending()
boolean
isStuck()
True if the item is starving for an executor for too long.-
Methods inherited from class hudson.model.Queue.Item
authenticate, authenticate2, doCancelQueue, getApi, getAssignedLabel, getAssignedLabelFor, getCauses, getCausesDescription, getDisplayName, getFuture, getId, getIdLegacy, getInQueueForString, getInQueueSince, getParams, getSearchUrl, getUrl, getWhy, hasCancelPermission, isBlocked, isBuildable, readResolve, toString
-
Methods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
-
-
-
-
Constructor Detail
-
BuildableItem
public BuildableItem(Queue.WaitingItem wi)
-
BuildableItem
public BuildableItem(Queue.NotWaitingItem ni)
-
-
Method Detail
-
getCauseOfBlockage
public CauseOfBlockage 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
-
isStuck
public boolean isStuck()
Description copied from class:Queue.Item
True if the item is starving for an executor for too long.- Overrides:
isStuck
in classQueue.Item
-
isPending
@Exported public boolean isPending()
-
-