| Package | Description |
|---|---|
| hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
| hudson.model.queue | |
| hudson.widgets | |
| jenkins.security |
| Modifier and Type | Class and Description |
|---|---|
class |
Queue.BlockedItem
Item in the Queue.blockedProjects stage. |
static class |
Queue.BuildableItem
Item in the Queue.buildables stage. |
static class |
Queue.LeftItem
Item in the Queue.leftItems stage. |
static class |
Queue.NotWaitingItem
Common part between
Queue.BlockedItem and BuildableItem. |
static class |
Queue.WaitingItem
Item in the Queue.waitingList stage. |
| Modifier and Type | Method and Description |
|---|---|
Queue.Item |
Queue.getItem(int id) |
Queue.Item |
Queue.getItem(Queue.Task t)
Gets the information about the queue item for the given project.
|
Queue.Item[] |
Queue.getItems()
Gets a snapshot of items in the queue.
|
Queue.Item |
AbstractProject.getQueueItem() |
Queue.Item |
Job.getQueueItem()
If this job is in the build queue, return its item.
|
| Modifier and Type | Method and Description |
|---|---|
List<Queue.Item> |
Queue.getApproximateItemsQuickly()
Like
Queue.getItems(), but returns an approximation that might not be completely up-to-date. |
List<Queue.Item> |
View.getApproximateQueueItemsQuickly() |
List<Queue.Item> |
Queue.getItems(Queue.Task t)
Gets the information about the queue item for the given project.
|
List<Queue.Item> |
View.getQueueItems() |
List<Queue.Item> |
Queue.getUnblockedItems()
Gets all items that are in the queue but not blocked
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Queue.cancel(Queue.Item item) |
void |
CauseAction.foldIntoExisting(Queue.Item item,
Queue.Task owner,
List<Action> otherActions) |
| Constructor and Description |
|---|
Item(Queue.Item item) |
LeftItem(Queue.Item cancelled)
When item is cancelled.
|
| Modifier and Type | Method and Description |
|---|---|
Queue.Item |
ScheduleResult.getItem()
Unless
ScheduleResult.isRefused() is true, this method either returns
the newly created item in the queue or the existing item that's already
in the queue that matched the submitted task. |
Queue.Item |
ScheduleResult.Created.getItem() |
Queue.Item |
ScheduleResult.Existing.getItem() |
| Modifier and Type | Method and Description |
|---|---|
CauseOfBlockage |
QueueTaskDispatcher.canRun(Queue.Item item)
Called whenever
Queue is considering if Queue.Item is ready to execute immediately
(which doesn't necessarily mean that it gets executed right away — it's still subject to
executor availability), or if it should be considered blocked. |
static ScheduleResult.Existing |
ScheduleResult.existing(Queue.Item i) |
void |
FoldableAction.foldIntoExisting(Queue.Item item,
Queue.Task owner,
List<Action> otherActions)
Notifies that the
Queue.Task that "owns" this action (that is, the task for which this action is submitted)
is considered as a duplicate. |
| Modifier and Type | Method and Description |
|---|---|
Queue.Item |
BuildHistoryWidget.getQueuedItem()
Returns the first queue item if the owner is scheduled for execution in the queue.
|
| Modifier and Type | Method and Description |
|---|---|
List<Queue.Item> |
BuildHistoryWidget.getQueuedItems()
Returns the queue item if the owner is scheduled for execution in the queue, in REVERSE ORDER
|
| Modifier and Type | Method and Description |
|---|---|
org.acegisecurity.Authentication |
QueueItemAuthenticator.authenticate(Queue.Item item)
Determines the identity in which the
Queue.Executable will run as. |
Copyright © 2014. All rights reserved.