Uses of Interface
hudson.model.Queue.Task
Packages that use 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
Subinterfaces of Queue.Task in hudson.modelModifier and TypeInterfaceDescriptioninterfaceItemthat can be "built", for whatever meaning of "build".interfaceAbstractProjectthat has associatedBuildWrappers.static interfaceMarksQueue.Tasks that do not consumeExecutor.static interfaceMarksQueue.Tasks that are not affected by the Jenkins.isQuietingDown() quieting down}, because these tasks keep other tasks executing.static interfaceMarksQueue.Tasks that are not persisted.interfaceDeprecated.Classes in hudson.model that implement Queue.TaskModifier and TypeClassDescriptionclassAbstractProject<P extends AbstractProject<P,R>, R extends AbstractBuild<P, R>> Base implementation ofJobs that build software.classFree-style software project.classBuildable software project.Fields in hudson.model declared as Queue.TaskMethods in hudson.model that return Queue.TaskMethods in hudson.model that return types with arguments of type Queue.TaskModifier and TypeMethodDescriptionQueue.getUnblockedTasks()Works just likeQueue.getUnblockedItems()but return tasks.Methods in hudson.model with parameters of type Queue.TaskModifier and TypeMethodDescriptionbooleanQueue.add(Queue.Task p, int quietPeriod) Deprecated.as of 1.311 UseQueue.schedule(Task, int)booleanQueue.add(Queue.Task p, int quietPeriod, Action... actions) Deprecated.as of 1.311 UseQueue.schedule(Task, int, Action...)booleanQueue.cancel(Queue.Task p) Cancels the item in the queue.Node.canTake(Queue.Task task) Deprecated.as of 1.413 UseNode.canTake(Queue.BuildableItem)booleanQueue.contains(Queue.Task t) Returns true if this queue contains the said project.voidCauseAction.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 booleanQueue.ifBlockedByHudsonShutdown(Queue.Task task) Deprecated.UseQueue.isBlockedByShutdown(hudson.model.Queue.Task)instead.static booleanQueue.isBlockedByShutdown(Queue.Task task) Checks whether a task should not be scheduled becauseJenkins.isQuietingDown().booleanQueue.isPending(Queue.Task t) Is the given task currently pending execution?abstract MappingWorksheet.MappingLoadBalancer.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 booleanQueue.QueueDecisionHandler.shouldSchedule(Queue.Task p, List<Action> actions) Returns whether the new item should be scheduled.default voidExecutorListener.taskAccepted(Executor executor, Queue.Task task) Called whenever a task is accepted by an executor.default voidExecutorListener.taskCompleted(Executor executor, Queue.Task task, long durationMS) Called whenever a task is completed without any problems by an executor.default voidExecutorListener.taskCompletedWithProblems(Executor executor, Queue.Task task, long durationMS, Throwable problems) Called whenever a task is completed with some problems by an executor.default voidExecutorListener.taskStarted(Executor executor, Queue.Task task) Called whenever a task is started by an executor.Constructors in hudson.model with parameters of type Queue.TaskModifierConstructorDescriptionprotectedItem(Queue.Task task, List<Action> actions, long id, FutureImpl future) protectedItem(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.TaskModifier and TypeClassDescriptionclassDeprecated.implementQueue.TaskdirectlyclassBase class for defining filterQueue.Task.Fields in hudson.model.queue declared as Queue.TaskMethods in hudson.model.queue that return Queue.TaskModifier and TypeMethodDescriptiondefault Queue.TaskSubTask.getOwnerTask()Gets the task that this subtask belongs to.static Queue.TaskTasks.getOwnerTaskOf(SubTask t) Deprecated.callSubTask.getOwnerTask()directlyMethods in hudson.model.queue with parameters of type Queue.TaskModifier and TypeMethodDescriptionQueueTaskDispatcher.canTake(Node node, Queue.Task task) Deprecated.since 1.413 UseQueueTaskDispatcher.canTake(Node, Queue.BuildableItem)voidFoldableAction.foldIntoExisting(Queue.Item item, Queue.Task owner, List<Action> otherActions) Notifies that theQueue.Taskthat "owns" this action (that is, the task for which this action is submitted) is considered as a duplicate.static AuthenticationTasks.getAuthenticationOf(Queue.Task t) Deprecated.static org.springframework.security.core.AuthenticationTasks.getAuthenticationOf2(Queue.Task t) Finds what authentication a task is likely to be run under when scheduled.static AuthenticationTasks.getDefaultAuthenticationOf(Queue.Task t) Deprecated.callgetDefaultAuthentication()directlystatic AuthenticationTasks.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.TaskModifierConstructorDescriptionFutureImpl(Queue.Task task) protectedQueueTaskFilter(Queue.Task base) -
Uses of Queue.Task in hudson.slaves
Methods in hudson.slaves with parameters of type Queue.TaskModifier and TypeMethodDescriptionNodeProperty.canTake(Queue.Task task) Deprecated.as of 1.413 UseNodeProperty.canTake(Queue.BuildableItem)voidSlaveComputer.taskAccepted(Executor executor, Queue.Task task) voidSlaveComputer.taskCompleted(Executor executor, Queue.Task task, long durationMS) voidSlaveComputer.taskCompletedWithProblems(Executor executor, Queue.Task task, long durationMS, Throwable problems) voidSlaveComputer.taskStarted(Executor executor, Queue.Task task) -
Uses of Queue.Task in hudson.widgets
Constructors in hudson.widgets with parameters of type Queue.TaskModifierConstructorDescriptionBuildHistoryWidget(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.TaskModifier and TypeClassDescriptionclassParameterizedJobMixIn<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT, RunT> & Queue.Task, RunT extends Run<JobT, RunT> & Queue.Executable> Allows aJobto make use ofParametersDefinitionPropertyand be scheduled in various ways.static interfaceParameterizedJobMixIn.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.modelModifier and TypeInterfaceDescriptionstatic interfaceParameterizedJobMixIn.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.TaskModifier and TypeClassDescriptionclassLazyBuildMixIn<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> static interfaceLazyBuildMixIn.LazyLoadingJob<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Marker for aJobwhich uses this mixin.static interfaceLazyBuildMixIn.LazyLoadingRun<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Marker for aRunwhich uses this mixin.static classLazyBuildMixIn.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 that return Queue.TaskMethods in jenkins.model.queue with parameters of type Queue.TaskModifier and TypeMethodDescriptionlongQueueIdStrategy.DefaultStrategy.generateIdFor(Queue.Task project, List<Action> actions) abstract longQueueIdStrategy.generateIdFor(Queue.Task project, List<Action> actions) Generates a new ID for the given project and actions.booleanItemDeletion.shouldSchedule(Queue.Task p, List<Action> actions) -
Uses of Queue.Task in jenkins.security
Methods in jenkins.security with parameters of type Queue.TaskModifier and TypeMethodDescriptionQueueItemAuthenticator.authenticate(Queue.Task task) Deprecated.org.springframework.security.core.AuthenticationQueueItemAuthenticator.authenticate2(Queue.Task task) Determines the identity in which theQueue.Executablewill run as.
SCMTriggerIteminstead.