Uses of Class
hudson.model.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
Modifier and TypeClassDescriptionclass
Executor
that's temporarily added to carry out tasks that doesn't consume regular executors, like a matrix project parent build.Modifier 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.Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionabstract Executor
MappingWorksheet.ExecutorSlot.getExecutor()
WorkUnit.getExecutor()
Executor
running this work unit.Modifier 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
Modifier 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
-
Uses of Executor in jenkins.model.queue
Modifier and TypeMethodDescriptionfinal Executor
AsynchronousExecution.getExecutor()
Obtains the associated executor.Modifier and TypeMethodDescriptionfinal void
AsynchronousExecution.setExecutorWithoutCompleting
(Executor executor) Set the executor without notifying it about task completion.