Package hudson.model
Class Queue.WaitingItem
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.Actionable
-
- hudson.model.Queue.Item
-
- hudson.model.Queue.WaitingItem
-
- All Implemented Interfaces:
ModelObject
,SearchableModelObject
,SearchItem
,Comparable<Queue.WaitingItem>
,ModelObjectWithContextMenu
- Enclosing class:
- Queue
public static final class Queue.WaitingItem extends Queue.Item implements Comparable<Queue.WaitingItem>
Queue.Item
in theQueue.waitingList
stage.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
-
-
Field Summary
Fields Modifier and Type Field Description Calendar
timestamp
This item can be run after this time.-
Fields inherited from class hudson.model.Queue.Item
task
-
-
Constructor Summary
Constructors Constructor Description WaitingItem(Calendar timestamp, Queue.Task project, List<Action> actions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Queue.WaitingItem that)
CauseOfBlockage
getCauseOfBlockage()
Gets an object that describes why this item is in the queue.-
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, isStuck, 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
-
-
-
-
Field Detail
-
timestamp
@Exported public Calendar timestamp
This item can be run after this time.
-
-
Constructor Detail
-
WaitingItem
public WaitingItem(Calendar timestamp, Queue.Task project, List<Action> actions)
-
-
Method Detail
-
compareTo
public int compareTo(Queue.WaitingItem that)
- Specified by:
compareTo
in interfaceComparable<Queue.WaitingItem>
-
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
-
-