Uses of Interface
hudson.model.Queue.Task
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Code related to agents.
-
Uses of Queue.Task in hudson.model
Modifier and TypeInterfaceDescriptioninterface
Item
that can be "built", for whatever meaning of "build".interface
AbstractProject
that has associatedBuildWrapper
s.static interface
MarksQueue.Task
s that do not consumeExecutor
.static interface
MarksQueue.Task
s that are not affected by the Jenkins.isQuietingDown() quieting down}, because these tasks keep other tasks executing.static interface
MarksQueue.Task
s that are not persisted.interface
Deprecated.Modifier and TypeClassDescriptionclass
AbstractProject<P extends AbstractProject<P,
R>, R extends AbstractBuild<P, R>> Base implementation ofJob
s that build software.class
Free-style software project.class
Buildable software project.Modifier and TypeMethodDescriptionQueue.getUnblockedTasks()
Works just likeQueue.getUnblockedItems()
but return tasks.Modifier and TypeMethodDescriptionboolean
Queue.add
(Queue.Task p, int quietPeriod) Deprecated.as of 1.311 UseQueue.schedule(Task, int)
boolean
Queue.add
(Queue.Task p, int quietPeriod, Action... actions) Deprecated.as of 1.311 UseQueue.schedule(Task, int, Action...)
boolean
Queue.cancel
(Queue.Task p) Cancels the item in the queue.Node.canTake
(Queue.Task task) Deprecated.as of 1.413 UseNode.canTake(Queue.BuildableItem)
boolean
Queue.contains
(Queue.Task t) Returns true if this queue contains the said project.void
CauseAction.foldIntoExisting
(Queue.Item item, Queue.Task owner, List<Action> otherActions) Queue.getItem
(Queue.Task t) Gets the information about the queue item for the given project.Queue.getItems
(Queue.Task t) Gets the information about the queue item for the given project.static boolean
Queue.ifBlockedByHudsonShutdown
(Queue.Task task) Deprecated.UseQueue.isBlockedByShutdown(hudson.model.Queue.Task)
instead.static boolean
Queue.isBlockedByShutdown
(Queue.Task task) Checks whether a task should not be scheduled becauseJenkins.isQuietingDown()
.boolean
Queue.isPending
(Queue.Task t) Is the given task currently pending execution?abstract MappingWorksheet.Mapping
LoadBalancer.map
(Queue.Task task, MappingWorksheet worksheet) Chooses the executor(s) to carry out the build for the given task.Queue.schedule
(Queue.Task p, int quietPeriod) Queue.schedule
(Queue.Task p, int quietPeriod, Action... actions) Convenience wrapper method aroundQueue.schedule(Task, int, List)
Queue.schedule
(Queue.Task p, int quietPeriod, List<Action> actions) Deprecated.as of 1.521 UseQueue.schedule2(Task, int, List)
Queue.schedule2
(Queue.Task p, int quietPeriod, Action... actions) Convenience wrapper method aroundQueue.schedule2(Task, int, List)
Queue.schedule2
(Queue.Task p, int quietPeriod, List<Action> actions) Schedules an execution of a task.abstract boolean
Queue.QueueDecisionHandler.shouldSchedule
(Queue.Task p, List<Action> actions) Returns whether the new item should be scheduled.default void
ExecutorListener.taskAccepted
(Executor executor, Queue.Task task) Called whenever a task is accepted by an executor.default void
ExecutorListener.taskCompleted
(Executor executor, Queue.Task task, long durationMS) Called whenever a task is completed without any problems by an executor.default void
ExecutorListener.taskCompletedWithProblems
(Executor executor, Queue.Task task, long durationMS, Throwable problems) Called whenever a task is completed with some problems by an executor.default void
ExecutorListener.taskStarted
(Executor executor, Queue.Task task) Called whenever a task is started by an executor.ModifierConstructorDescriptionprotected
Item
(Queue.Task task, List<Action> actions, long id, FutureImpl future) protected
Item
(Queue.Task task, List<Action> actions, long id, FutureImpl future, long inQueueSince) StubTask
(Queue.Task base) WaitingItem
(Calendar timestamp, Queue.Task project, List<Action> actions) -
Uses of Queue.Task in hudson.model.queue
Modifier and TypeClassDescriptionclass
Deprecated.implementQueue.Task
directlyclass
Base class for defining filterQueue.Task
.Modifier and TypeMethodDescriptiondefault Queue.Task
SubTask.getOwnerTask()
Gets the task that this subtask belongs to.static Queue.Task
Tasks.getOwnerTaskOf
(SubTask t) Deprecated.callSubTask.getOwnerTask()
directlyModifier and TypeMethodDescriptionQueueTaskDispatcher.canTake
(Node node, Queue.Task task) Deprecated.since 1.413 UseQueueTaskDispatcher.canTake(Node, Queue.BuildableItem)
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.getAuthenticationOf
(Queue.Task t) Deprecated.static org.springframework.security.core.Authentication
Tasks.getAuthenticationOf2
(Queue.Task t) Finds what authentication a task is likely to be run under when scheduled.static Authentication
Tasks.getDefaultAuthenticationOf
(Queue.Task t) Deprecated.callgetDefaultAuthentication()
directlystatic Authentication
Tasks.getDefaultAuthenticationOf
(Queue.Task t, Queue.Item item) Deprecated.callgetDefaultAuthentication(Item)
directlystatic Collection<? extends SubTask>
Tasks.getSubTasksOf
(Queue.Task task) Deprecated.callgetSubTasks()
directlyModifierConstructorDescriptionFutureImpl
(Queue.Task task) protected
QueueTaskFilter
(Queue.Task base) -
Uses of Queue.Task in hudson.slaves
Modifier and TypeMethodDescriptionNodeProperty.canTake
(Queue.Task task) Deprecated.as of 1.413 UseNodeProperty.canTake(Queue.BuildableItem)
void
SlaveComputer.taskAccepted
(Executor executor, Queue.Task task) void
SlaveComputer.taskCompleted
(Executor executor, Queue.Task task, long durationMS) void
SlaveComputer.taskCompletedWithProblems
(Executor executor, Queue.Task task, long durationMS, Throwable problems) void
SlaveComputer.taskStarted
(Executor executor, Queue.Task task) -
Uses of Queue.Task in hudson.widgets
ModifierConstructorDescriptionBuildHistoryWidget
(Queue.Task owner, Iterable<T> baseList, HistoryWidget.Adapter<? super T> adapter) -
Uses of Queue.Task in jenkins.model
Modifier and TypeClassDescriptionclass
ParameterizedJobMixIn<JobT extends Job<JobT,
RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT, RunT> & Queue.Task, RunT extends Run<JobT, RunT> & Queue.Executable> Allows aJob
to make use ofParametersDefinitionProperty
and be scheduled in various ways.static interface
ParameterizedJobMixIn.ParameterizedJob<JobT extends Job<JobT,
RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT, RunT> & Queue.Task, RunT extends Run<JobT, RunT> & Queue.Executable> Marker for job using this mixin, and default implementations of many methods.Modifier and TypeInterfaceDescriptionstatic interface
ParameterizedJobMixIn.ParameterizedJob<JobT extends Job<JobT,
RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT, RunT> & Queue.Task, RunT extends Run<JobT, RunT> & Queue.Executable> Marker for job using this mixin, and default implementations of many methods. -
Uses of Queue.Task in jenkins.model.lazy
Modifier and TypeClassDescriptionclass
LazyBuildMixIn<JobT extends Job<JobT,
RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> static interface
LazyBuildMixIn.LazyLoadingJob<JobT extends Job<JobT,
RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Marker for aJob
which uses this mixin.static interface
LazyBuildMixIn.LazyLoadingRun<JobT extends Job<JobT,
RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Marker for aRun
which uses this mixin.static class
LazyBuildMixIn.RunMixIn<JobT extends Job<JobT,
RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Accompanying helper for the run type. -
Uses of Queue.Task in jenkins.model.queue
Modifier and TypeMethodDescriptionlong
QueueIdStrategy.DefaultStrategy.generateIdFor
(Queue.Task project, List<Action> actions) abstract long
QueueIdStrategy.generateIdFor
(Queue.Task project, List<Action> actions) Generates a new ID for the given project and actions.boolean
ItemDeletion.shouldSchedule
(Queue.Task p, List<Action> actions) -
Uses of Queue.Task in jenkins.security
Modifier and TypeMethodDescriptionQueueItemAuthenticator.authenticate
(Queue.Task task) Deprecated.org.springframework.security.core.Authentication
QueueItemAuthenticator.authenticate2
(Queue.Task task) Determines the identity in which theQueue.Executable
will run as.
SCMTriggerItem
instead.