hudson.model
Class Queue.WaitingItem

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by hudson.model.Queue.Item
              extended by 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>

Item in the Queue.waitingList stage.


Nested Class Summary
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.MenuItem
 
Field Summary
 Calendar timestamp
          This item can be run after this time.
 
Fields inherited from class hudson.model.Queue.Item
id, task
 
Constructor Summary
Queue.WaitingItem(Calendar timestamp, Queue.Task project, List<Action> actions)
           
 
Method Summary
 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
doCancelQueue, getAssignedLabel, getCauses, getDisplayName, getFuture, getInQueueForString, getInQueueSince, getParams, getSearchUrl, getWhy, hasCancelPermission, isBlocked, isBuildable, isStuck, 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
 

Field Detail

timestamp

@Exported
public Calendar timestamp
This item can be run after this time.

Constructor Detail

Queue.WaitingItem

public Queue.WaitingItem(Calendar timestamp,
                         Queue.Task project,
                         List<Action> actions)
Method Detail

compareTo

public int compareTo(Queue.WaitingItem that)
Specified by:
compareTo in interface Comparable<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 class Queue.Item


Copyright © 2004-2013. All Rights Reserved.