Package | Description |
---|---|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.model.queue | |
hudson.widgets | |
jenkins.model | |
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(long 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 |
Job.getQueueItem()
If this job is in the build queue, return its item.
|
Queue.Item |
AbstractProject.getQueueItem() |
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) |
org.acegisecurity.Authentication |
Queue.Task.getDefaultAuthentication(Queue.Item item)
This method allows the task to provide the default fallback authentication object to be used
when
QueueItemAuthenticator fails to authenticate the build. |
org.acegisecurity.Authentication |
AbstractProject.getDefaultAuthentication(Queue.Item item) |
protected boolean |
OverallLoadStatistics.matches(Queue.Item item,
SubTask subTask) |
protected abstract boolean |
LoadStatistics.matches(Queue.Item item,
SubTask subTask)
|
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. |
org.acegisecurity.Authentication |
AbstractQueueTask.getDefaultAuthentication(Queue.Item item) |
static org.acegisecurity.Authentication |
Tasks.getDefaultAuthenticationOf(Queue.Task t,
Queue.Item item)
Helper method to safely invoke
Task#getDefaultAuthentication(Item) on classes that may come
from plugins compiled against an earlier version of Jenkins. |
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 |
---|---|
static Queue.Item |
ParameterizedJobMixIn.scheduleBuild2(Job<?,?> job,
int quietPeriod,
Action... actions)
Convenience method to schedule a build.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
UnlabeledLoadStatistics.matches(Queue.Item item,
SubTask subTask) |
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 © 2016. All rights reserved.