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 class
OneOffExecutor
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 Executor Modifier and Type Field Description Executor
Queue.JobOffer. executor
Methods in hudson.model that return Executor Modifier and Type Method Description static Executor
Executor. currentExecutor()
Returns the executor of the current thread or null if current thread is not an executor.Executor
Computer.DisplayExecutor. getExecutor()
Executor
Queue.JobOffer. getExecutor()
Executor
Run. getExecutor()
Gets theExecutor
building this job, if it's being built.Executor
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 Executor Modifier and Type Method Description List<Executor>
Computer. getAllExecutors()
Gets the read-only snapshot view of allExecutor
instances including OneOffExecutors.List<Executor>
Computer. getExecutors()
Gets the read-only snapshot view of allExecutor
s.Methods in hudson.model with parameters of type Executor Modifier and Type Method Description protected 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.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 Executor
MappingWorksheet.ExecutorSlot. getExecutor()
Executor
WorkUnit. getExecutor()
Executor
running this work unit.Methods in hudson.model.queue with parameters of type Executor Modifier and Type Method Description void
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 Executor Modifier and Type Method Description void
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.queue
Methods in jenkins.model.queue that return Executor Modifier and Type Method Description Executor
AsynchronousExecution. getExecutor()
Obtains the associated executor.Methods in jenkins.model.queue with parameters of type Executor Modifier and Type Method Description void
AsynchronousExecution. setExecutorWithoutCompleting(Executor executor)
Set the executor without notifying it about task completion.
-