Uses of Class
hudson.model.Executor
-
Packages that use Executor 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.jenkins.model.queue -
-
Uses of Executor in hudson.model
Subclasses of Executor in hudson.model Modifier and Type Class Description classOneOffExecutorExecutorthat'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 Executor Modifier and Type Field Description ExecutorQueue.JobOffer. executorMethods in hudson.model that return Executor Modifier and Type Method Description static ExecutorExecutor. currentExecutor()Returns the executor of the current thread or null if current thread is not an executor.ExecutorComputer.DisplayExecutor. getExecutor()ExecutorQueue.JobOffer. getExecutor()ExecutorRun. getExecutor()Gets theExecutorbuilding this job, if it's being built.ExecutorRun. 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 Executor Modifier and Type Method Description List<Executor>Computer. getAllExecutors()Gets the read-only snapshot view of allExecutorinstances including OneOffExecutors.List<Executor>Computer. getExecutors()Gets the read-only snapshot view of allExecutors.Methods in hudson.model with parameters of type Executor Modifier and Type Method Description protected 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.Constructors in hudson.model with parameters of type Executor Constructor Description DisplayExecutor(String displayName, String url, Executor executor) -
Uses of Executor in hudson.model.queue
Methods in hudson.model.queue that return Executor Modifier and Type Method Description abstract ExecutorMappingWorksheet.ExecutorSlot. getExecutor()ExecutorWorkUnit. getExecutor()Executorrunning this work unit.Methods in hudson.model.queue with parameters of type Executor Modifier and Type Method Description voidWorkUnit. 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 Executor Modifier and Type Method Description 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 Executor in jenkins.model.queue
Methods in jenkins.model.queue that return Executor Modifier and Type Method Description ExecutorAsynchronousExecution. getExecutor()Obtains the associated executor.Methods in jenkins.model.queue with parameters of type Executor Modifier and Type Method Description voidAsynchronousExecution. setExecutorWithoutCompleting(Executor executor)Set the executor without notifying it about task completion.
-