Package | Description |
---|---|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.model.queue | |
hudson.slaves |
Code related to slaves.
|
jenkins.model.queue |
Modifier and Type | Class and Description |
---|---|
class |
OneOffExecutor
Executor that's temporarily added to carry out tasks that doesn't consume
regular executors, like a matrix project parent build. |
Modifier and Type | Field and Description |
---|---|
Executor |
Queue.JobOffer.executor |
Modifier and Type | Method and Description |
---|---|
static Executor |
Executor.currentExecutor()
Returns the executor of the current thread or null if current thread is not an executor.
|
Executor |
Run.getExecutor()
Gets the
Executor building this job, if it's being built. |
Executor |
Computer.DisplayExecutor.getExecutor() |
Executor |
Queue.JobOffer.getExecutor() |
Executor |
Run.getOneOffExecutor()
Gets the one off
Executor 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 Type | Method and Description |
---|---|
List<Executor> |
Computer.getExecutors()
Gets the read-only snapshot view of all
Executor s. |
Modifier and Type | Method and Description |
---|---|
void |
ExecutorListener.taskAccepted(Executor executor,
Queue.Task task)
Called whenever a task is accepted by an executor.
|
void |
Computer.taskAccepted(Executor executor,
Queue.Task task)
Called whenever a task is accepted by an executor.
|
void |
ExecutorListener.taskCompleted(Executor executor,
Queue.Task task,
long durationMS)
Called whenever a task is completed without any problems by an executor.
|
void |
Computer.taskCompleted(Executor executor,
Queue.Task task,
long durationMS)
Called whenever a task is completed without any problems by an executor.
|
void |
ExecutorListener.taskCompletedWithProblems(Executor executor,
Queue.Task task,
long durationMS,
Throwable problems)
Called whenever a task is completed with some problems by an executor.
|
void |
Computer.taskCompletedWithProblems(Executor executor,
Queue.Task task,
long durationMS,
Throwable problems)
Called whenever a task is completed with some problems by an executor.
|
Constructor and Description |
---|
DisplayExecutor(String displayName,
String url,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
abstract Executor |
MappingWorksheet.ExecutorSlot.getExecutor() |
Executor |
WorkUnit.getExecutor()
Executor running this work unit. |
Modifier and Type | Method and Description |
---|---|
void |
WorkUnit.setExecutor(Executor e) |
void |
WorkUnitContext.synchronizeEnd(Executor e,
Queue.Executable executable,
Throwable problems,
long duration)
All the
Executor s that jointly execute a Queue.Task call this method to synchronize on the end of the task. |
Modifier and Type | Method and Description |
---|---|
void |
SlaveComputer.taskAccepted(Executor executor,
Queue.Task task)
Called whenever a task is accepted by an executor.
|
void |
SlaveComputer.taskCompleted(Executor executor,
Queue.Task task,
long durationMS)
Called whenever a task is completed without any problems by an executor.
|
void |
SlaveComputer.taskCompletedWithProblems(Executor executor,
Queue.Task task,
long durationMS,
Throwable problems)
Called whenever a task is completed with some problems by an executor.
|
Modifier and Type | Method and Description |
---|---|
Executor |
AsynchronousExecution.getExecutor()
Obtains the associated executor.
|
Modifier and Type | Method and Description |
---|---|
void |
AsynchronousExecution.setExecutor(Executor executor) |
Copyright © 2017. All rights reserved.