Uses of Interface
hudson.model.Queue.Task
-
Packages that use Queue.Task Package Description hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.model.queue hudson.slaves Code related to agents.hudson.widgets jenkins.model jenkins.model.lazy jenkins.model.queue jenkins.security -
-
Uses of Queue.Task in hudson.model
Subinterfaces of Queue.Task in hudson.model Modifier and Type Interface Description interface
BuildableItem
Item
that can be "built", for whatever meaning of "build".interface
BuildableItemWithBuildWrappers
AbstractProject
that has associatedBuildWrapper
s.static interface
Queue.FlyweightTask
MarksQueue.Task
s that do not consumeExecutor
.static interface
Queue.NonBlockingTask
MarksQueue.Task
s that are not affected by the Jenkins.isQuietingDown() quieting down}, because these tasks keep other tasks executing.static interface
Queue.TransientTask
MarksQueue.Task
s that are not persisted.interface
SCMedItem
Deprecated.ImplementSCMTriggerItem
instead.Classes in hudson.model that implement Queue.Task Modifier and Type Class Description class
AbstractProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation ofJob
s that build software.class
FreeStyleProject
Free-style software project.class
Project<P extends Project<P,B>,B extends Build<P,B>>
Buildable software project.Fields in hudson.model declared as Queue.Task Modifier and Type Field Description Queue.Task
Queue.Item. task
Project to be built.Methods in hudson.model that return types with arguments of type Queue.Task Modifier and Type Method Description Set<Queue.Task>
Queue. getUnblockedTasks()
Works just likeQueue.getUnblockedItems()
but return tasks.Methods in hudson.model with parameters of type Queue.Task Modifier and Type Method Description boolean
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.CauseOfBlockage
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.Item
Queue. getItem(Queue.Task t)
Gets the information about the queue item for the given project.List<Queue.Item>
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.WaitingItem
Queue. schedule(Queue.Task p, int quietPeriod)
Queue.WaitingItem
Queue. schedule(Queue.Task p, int quietPeriod, Action... actions)
Convenience wrapper method aroundQueue.schedule(Task, int, List)
Queue.WaitingItem
Queue. schedule(Queue.Task p, int quietPeriod, List<Action> actions)
Deprecated.as of 1.521 UseQueue.schedule2(Task, int, List)
ScheduleResult
Queue. schedule2(Queue.Task p, int quietPeriod, Action... actions)
Convenience wrapper method aroundQueue.schedule2(Task, int, List)
ScheduleResult
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.Constructors in hudson.model with parameters of type Queue.Task Constructor Description Item(Queue.Task task, List<Action> actions, long id, FutureImpl future)
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
Classes in hudson.model.queue that implement Queue.Task Modifier and Type Class Description class
AbstractQueueTask
Deprecated.implementQueue.Task
directlyclass
QueueTaskFilter
Base class for defining filterQueue.Task
.Fields in hudson.model.queue declared as Queue.Task Modifier and Type Field Description Queue.Task
WorkUnitContext. task
Methods in hudson.model.queue that return Queue.Task Modifier and Type Method Description default Queue.Task
SubTask. getOwnerTask()
Gets the task that this subtask belongs to.static Queue.Task
Tasks. getOwnerTaskOf(SubTask t)
Deprecated.callSubTask.getOwnerTask()
directlyMethods in hudson.model.queue with parameters of type Queue.Task Modifier and Type Method Description CauseOfBlockage
QueueTaskDispatcher. 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()
directlyConstructors in hudson.model.queue with parameters of type Queue.Task Constructor Description FutureImpl(Queue.Task task)
QueueTaskFilter(Queue.Task base)
-
Uses of Queue.Task in hudson.slaves
Methods in hudson.slaves with parameters of type Queue.Task Modifier and Type Method Description CauseOfBlockage
NodeProperty. 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
Constructors in hudson.widgets with parameters of type Queue.Task Constructor Description BuildHistoryWidget(Queue.Task owner, Iterable<T> baseList, HistoryWidget.Adapter<? super T> adapter)
-
Uses of Queue.Task in jenkins.model
Classes in jenkins.model with type parameters of type Queue.Task Modifier and Type Class Description class
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.Subinterfaces of Queue.Task in jenkins.model Modifier and Type Interface Description 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. -
Uses of Queue.Task in jenkins.model.lazy
Classes in jenkins.model.lazy with type parameters of type Queue.Task Modifier and Type Class Description class
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
Methods in jenkins.model.queue with parameters of type Queue.Task Modifier and Type Method Description boolean
ItemDeletion. shouldSchedule(Queue.Task p, List<Action> actions)
-
Uses of Queue.Task in jenkins.security
Methods in jenkins.security with parameters of type Queue.Task Modifier and Type Method Description Authentication
QueueItemAuthenticator. 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.
-