Package | Description |
---|---|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.model.queue | |
jenkins.model |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBuild<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation of
Run s that build software. |
class |
Build<P extends Project<P,B>,B extends Build<P,B>>
A build of a
Project . |
class |
FreeStyleBuild |
Modifier and Type | Method and Description |
---|---|
Queue.Executable |
Executor.getCurrentExecutable()
Returns the current build this executor is running.
|
Queue.Executable |
Queue.LeftItem.getExecutable()
If this is representing an item that started executing, this property returns
the primary executable (such as
AbstractBuild ) that created out of it. |
Modifier and Type | Method and Description |
---|---|
QueueTaskFuture<Queue.Executable> |
Queue.Item.getFuture()
Can be used to wait for the completion (either normal, abnormal, or cancellation) of the
Queue.Task . |
Modifier and Type | Method and Description |
---|---|
static long |
Executor.getEstimatedDurationFor(Queue.Executable e)
Deprecated.
as of 1.388
Use
Executables.getEstimatedDurationFor(Queue.Executable) |
static Executor |
Executor.of(Queue.Executable executable)
Finds the executor currently running a given process.
|
Modifier and Type | Interface and Description |
---|---|
interface |
QueueTaskFuture<R extends Queue.Executable>
Future that can be used to wait for the start and the end of the task execution
(such as a build.) |
Modifier and Type | Method and Description |
---|---|
Queue.Executable |
QueueTaskFilter.createExecutable() |
Queue.Executable |
SubTask.createExecutable()
Creates
Queue.Executable , which performs the actual execution of the task. |
Queue.Executable |
WorkUnit.getExecutable()
If the execution has already started, return the executable that was created.
|
Queue.Executable |
FutureImpl.waitForStart() |
Modifier and Type | Method and Description |
---|---|
Future<Queue.Executable> |
FutureImpl.getStartCondition() |
Modifier and Type | Method and Description |
---|---|
static long |
Executables.getEstimatedDurationFor(Queue.Executable e)
Returns the estimated duration for the executable.
|
static SubTask |
Executables.getParentOf(Queue.Executable e)
Due to the return type change in
Queue.Executable , the caller needs a special precaution now. |
void |
WorkUnit.setExecutable(Queue.Executable executable)
This method is only meant to be called internally by
Executor . |
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. |
void |
WorkUnitContext.synchronizeEnd(Queue.Executable executable,
Throwable problems,
long duration)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
ParameterizedJobMixIn<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob & Queue.Task,RunT extends Run<JobT,RunT> & Queue.Executable>
Allows a
Job to make use of ParametersDefinitionProperty and be scheduled in various ways. |
Copyright © 2019. All rights reserved.