hudson.model
Class Queue.BuildableItem

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by hudson.model.Queue.Item
              extended by hudson.model.Queue.NotWaitingItem
                  extended by hudson.model.Queue.BuildableItem
All Implemented Interfaces:
ModelObject, SearchableModelObject, SearchItem, ModelObjectWithContextMenu
Enclosing class:
Queue

public static final class Queue.BuildableItem
extends Queue.NotWaitingItem

Item in the Queue.buildables stage.


Nested Class Summary
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.MenuItem
 
Field Summary
 
Fields inherited from class hudson.model.Queue.NotWaitingItem
buildableStartMilliseconds
 
Fields inherited from class hudson.model.Queue.Item
id, task
 
Constructor Summary
Queue.BuildableItem(Queue.NotWaitingItem ni)
           
Queue.BuildableItem(Queue.WaitingItem wi)
           
 
Method Summary
 CauseOfBlockage getCauseOfBlockage()
          Gets an object that describes why this item is in the queue.
 boolean isStuck()
          True if the item is starving for an executor for too long.
 
Methods inherited from class hudson.model.Queue.Item
doCancelQueue, getAssignedLabel, getCauses, getDisplayName, getFuture, getInQueueForString, getInQueueSince, getParams, getSearchUrl, getWhy, hasCancelPermission, isBlocked, isBuildable, toString
 
Methods inherited from class hudson.model.Actionable
addAction, doContextMenu, getAction, getAction, getActions, getActions, getDynamic
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Queue.BuildableItem

public Queue.BuildableItem(Queue.WaitingItem wi)

Queue.BuildableItem

public Queue.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 class Queue.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 class Queue.Item


Copyright © 2004-2013. All Rights Reserved.