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,FullyNamedModelObject,ModelObjectWithContextMenu,QueueItem
- Enclosing class:
Queue
Queue.Item in the Queue.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
buildableStartMillisecondsFields inherited from class hudson.model.Queue.Item
task -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets an object that describes why this item is in the queue.booleanbooleanisStuck()True if the item is starving for an executor for too long.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, readResolve, toStringMethods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jenkins.model.queue.QueueItem
getDisplayName, getFullDisplayName, hasCancelPermissionMethods inherited from interface hudson.search.SearchItem
getSearchGroup, getSearchIcon
-
Constructor Details
-
BuildableItem
-
BuildableItem
-
-
Method Details
-
getCauseOfBlockage
Description copied from class:Queue.ItemGets an object that describes why this item is in the queue.- Specified by:
getCauseOfBlockagein classQueue.Item
-
isStuck
public boolean isStuck()Description copied from class:Queue.ItemTrue if the item is starving for an executor for too long.- Specified by:
isStuckin interfaceQueueItem- Overrides:
isStuckin classQueue.Item- Returns:
- true if the item is starving for an executor for too long.
-
isPending
@Exported public boolean isPending()
-