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 interfaceBuildableItemItemthat can be "built", for whatever meaning of "build".interfaceBuildableItemWithBuildWrappersAbstractProjectthat has associatedBuildWrappers.static interfaceQueue.FlyweightTaskMarksQueue.Tasks that do not consumeExecutor.static interfaceQueue.NonBlockingTaskMarksQueue.Tasks that are not affected by the Jenkins.isQuietingDown() quieting down}, because these tasks keep other tasks executing.static interfaceQueue.TransientTaskMarksQueue.Tasks that are not persisted.interfaceSCMedItemDeprecated.ImplementSCMTriggerIteminstead.Classes in hudson.model that implement Queue.Task Modifier and Type Class Description classAbstractProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>Base implementation ofJobs that build software.classFreeStyleProjectFree-style software project.classProject<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.TaskQueue.Item. taskProject to be built.Methods in hudson.model that return Queue.Task Modifier and Type Method Description Queue.TaskQueue.Item. getTask()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 booleanQueue. 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.CauseOfBlockageNode. 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.ItemQueue. 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 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.WaitingItemQueue. schedule(Queue.Task p, int quietPeriod)Queue.WaitingItemQueue. schedule(Queue.Task p, int quietPeriod, Action... actions)Convenience wrapper method aroundQueue.schedule(Task, int, List)Queue.WaitingItemQueue. schedule(Queue.Task p, int quietPeriod, List<Action> actions)Deprecated.as of 1.521 UseQueue.schedule2(Task, int, List)ScheduleResultQueue. schedule2(Queue.Task p, int quietPeriod, Action... actions)Convenience wrapper method aroundQueue.schedule2(Task, int, List)ScheduleResultQueue. 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.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 classAbstractQueueTaskDeprecated.implementQueue.TaskdirectlyclassQueueTaskFilterBase class for defining filterQueue.Task.Fields in hudson.model.queue declared as Queue.Task Modifier and Type Field Description Queue.TaskWorkUnitContext. taskMethods in hudson.model.queue that return Queue.Task Modifier and Type Method Description default 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.Task Modifier and Type Method Description CauseOfBlockageQueueTaskDispatcher. 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.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 CauseOfBlockageNodeProperty. 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.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 classParameterizedJobMixIn<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.model Modifier and Type Interface Description 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. -
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 classLazyBuildMixIn<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.Task Modifier and Type Method Description Queue.TaskQueueItem. getTask()Methods in jenkins.model.queue with parameters of type Queue.Task Modifier and Type Method Description longQueueIdStrategy.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.Task Modifier and Type Method Description AuthenticationQueueItemAuthenticator. authenticate(Queue.Task task)Deprecated.org.springframework.security.core.AuthenticationQueueItemAuthenticator. authenticate2(Queue.Task task)Determines the identity in which theQueue.Executablewill run as.
-