Uses of Class
hudson.model.Queue.Item
-
Uses of Queue.Item in hudson.model
Modifier and TypeClassDescriptionfinal class
Queue.Item
in theQueue.blockedProjects
stage.static final class
Queue.Item
in theQueue.buildables
stage.static final class
Queue.Item
in theQueue.leftItems
stage.static class
Common part betweenQueue.BlockedItem
andQueue.BuildableItem
.static final class
Queue.Item
in theQueue.waitingList
stage.Modifier and TypeMethodDescriptionQueue.getItem
(long id) Queue.getItem
(Queue.Task t) Gets the information about the queue item for the given project.Queue.getItems()
Gets a snapshot of items in the queue.AbstractProject.getQueueItem()
Job.getQueueItem()
If this job is in the build queue, return its item.Modifier and TypeMethodDescriptionQueue.getApproximateItemsQuickly()
Deprecated.Deprecated.UseView.getQueueItems()
.Queue.getItems
(Queue.Task t) Gets the information about the queue item for the given project.View.getQueueItems()
Queue.getUnblockedItems()
Gets all items that are in the queue but not blockedModifier and TypeMethodDescriptionboolean
Queue.cancel
(Queue.Item item) void
CauseAction.foldIntoExisting
(Queue.Item item, Queue.Task owner, List<Action> otherActions) default Authentication
Queue.Task.getDefaultAuthentication
(Queue.Item item) Deprecated.default org.springframework.security.core.Authentication
Queue.Task.getDefaultAuthentication2
(Queue.Item item) This method allows the task to provide the default fallback authentication object to be used whenQueueItemAuthenticator
fails to authenticate the build.protected abstract boolean
LoadStatistics.matches
(Queue.Item item, SubTask subTask) protected boolean
OverallLoadStatistics.matches
(Queue.Item item, SubTask subTask) ModifierConstructorDescriptionprotected
Item
(Queue.Item item) LeftItem
(Queue.Item cancelled) When item is cancelled. -
Uses of Queue.Item in hudson.model.queue
Modifier and TypeMethodDescriptionScheduleResult.Created.getItem()
ScheduleResult.Existing.getItem()
ScheduleResult.getItem()
UnlessScheduleResult.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.Modifier and TypeMethodDescriptionQueueTaskDispatcher.canRun
(Queue.Item item) Called wheneverQueue
is considering ifQueue.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 theQueue.Task
that "owns" this action (that is, the task for which this action is submitted) is considered as a duplicate.static Authentication
Tasks.getDefaultAuthenticationOf
(Queue.Task t, Queue.Item item) Deprecated.callQueue.Task.getDefaultAuthentication(Item)
directly -
Uses of Queue.Item in jenkins.model
Modifier and TypeMethodDescriptionstatic Queue.Item
ParameterizedJobMixIn.scheduleBuild2
(Job<?, ?> job, int quietPeriod, Action... actions) Convenience method to schedule a build.Modifier and TypeMethodDescriptionprotected boolean
UnlabeledLoadStatistics.matches
(Queue.Item item, SubTask subTask) -
Uses of Queue.Item in jenkins.security
Modifier and TypeMethodDescriptionQueueItemAuthenticator.authenticate
(Queue.Item item) Deprecated.org.springframework.security.core.Authentication
QueueItemAuthenticator.authenticate2
(Queue.Item item) Determines the identity in which theQueue.Executable
will run as.
Queue.getItems()
directly.