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 TypeClassDescriptionclassExecutorthat'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 ExecutorExecutor.currentExecutor()Returns the executor of the current thread or null if current thread is not an executor.Queue.JobOffer.getExecutor()Run.getExecutor()Gets theExecutorbuilding this job, if it's being built.Run.getOneOffExecutor()Gets the one offExecutorbuilding this job, if it's being built.static ExecutorExecutor.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 allExecutorinstances including OneOffExecutors.Computer.getExecutors()Gets the read-only snapshot view of allExecutors.Methods in hudson.model with parameters of type ExecutorModifier and TypeMethodDescriptionprotected voidComputer.removeExecutor(Executor e) Called byExecutorto kill excessive executors from this computer.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. -
Uses of Executor in hudson.model.queue
Methods in hudson.model.queue that return ExecutorModifier and TypeMethodDescriptionabstract ExecutorMappingWorksheet.ExecutorSlot.getExecutor()WorkUnit.getExecutor()Executorrunning this work unit.Methods in hudson.model.queue with parameters of type ExecutorModifier and TypeMethodDescriptionvoidWorkUnit.setExecutor(Executor e) voidWorkUnitContext.synchronizeEnd(Executor e, Queue.Executable executable, Throwable problems, long duration) All theExecutors that jointly execute aQueue.Taskcall 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 TypeMethodDescriptionvoidSlaveComputer.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 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 ExecutorAsynchronousExecution.getExecutor()Obtains the associated executor.Methods in jenkins.model.queue with parameters of type ExecutorModifier and TypeMethodDescriptionfinal voidAsynchronousExecution.setExecutorWithoutCompleting(Executor executor) Set the executor without notifying it about task completion.