Uses of Class
hudson.model.Executor
Packages that use Executor
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Code related to agents.
-
Uses of Executor in hudson.model
Subclasses of Executor in hudson.modelModifier and TypeClassDescriptionclass
Executor
that's temporarily added to carry out tasks that doesn't consume regular executors, like a matrix project parent build.Fields in hudson.model declared as ExecutorMethods in hudson.model that return ExecutorModifier and TypeMethodDescriptionstatic Executor
Executor.currentExecutor()
Returns the executor of the current thread or null if current thread is not an executor.Queue.JobOffer.getExecutor()
Run.getExecutor()
Gets theExecutor
building this job, if it's being built.Run.getOneOffExecutor()
Gets the one offExecutor
building this job, if it's being built.static Executor
Executor.of
(Queue.Executable executable) Finds the executor currently running a given process.Methods in hudson.model that return types with arguments of type ExecutorModifier and TypeMethodDescriptionComputer.getAllExecutors()
Gets the read-only snapshot view of allExecutor
instances including OneOffExecutors.Computer.getExecutors()
Gets the read-only snapshot view of allExecutor
s.Methods in hudson.model with parameters of type ExecutorModifier and TypeMethodDescriptionprotected void
Computer.removeExecutor
(Executor e) Called byExecutor
to kill excessive executors from this computer.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. -
Uses of Executor in hudson.model.queue
Methods in hudson.model.queue that return ExecutorModifier and TypeMethodDescriptionabstract Executor
MappingWorksheet.ExecutorSlot.getExecutor()
WorkUnit.getExecutor()
Executor
running this work unit.Methods in hudson.model.queue with parameters of type ExecutorModifier and TypeMethodDescriptionvoid
WorkUnit.setExecutor
(Executor e) void
WorkUnitContext.synchronizeEnd
(Executor e, Queue.Executable executable, Throwable problems, long duration) All theExecutor
s that jointly execute aQueue.Task
call this method to synchronize on the end of the task. -
Uses of Executor in hudson.slaves
Methods in hudson.slaves with parameters of type ExecutorModifier and TypeMethodDescriptionvoid
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 Executor in jenkins.model
Methods in jenkins.model that return ExecutorConstructors in jenkins.model with parameters of type Executor -
Uses of Executor in jenkins.model.queue
Methods in jenkins.model.queue that return ExecutorModifier and TypeMethodDescriptionfinal Executor
AsynchronousExecution.getExecutor()
Obtains the associated executor.Methods in jenkins.model.queue with parameters of type ExecutorModifier and TypeMethodDescriptionfinal void
AsynchronousExecution.setExecutorWithoutCompleting
(Executor executor) Set the executor without notifying it about task completion.