Uses of Interface
hudson.model.Queue.Executable
-
Uses of Queue.Executable in hudson.model
Modifier and TypeClassDescriptionclass
AbstractBuild<P extends AbstractProject<P,
R>, R extends AbstractBuild<P, R>> Base implementation ofRun
s that build software.class
A build of aProject
.class
Modifier and TypeMethodDescriptionExecutor.getCurrentExecutable()
Returns the current build this executor is running.Executor.getCurrentExecutableForApi()
Same asExecutor.getCurrentExecutable()
but checksItem.READ
.Queue.LeftItem.getExecutable()
If this is representing an item that started executing, this property returns the primary executable (such asAbstractBuild
) that created out of it.AbstractBuild.getParentExecutable()
default Queue.Executable
Queue.Executable.getParentExecutable()
An umbrella executable (such as aRun
) of which this is one part.Modifier and TypeMethodDescriptionQueue.Item.getFuture()
Can be used to wait for the completion (either normal, abnormal, or cancellation) of theQueue.Task
.Modifier and TypeMethodDescriptionstatic long
Executor.getEstimatedDurationFor
(Queue.Executable e) Deprecated.static Executor
Executor.of
(Queue.Executable executable) Finds the executor currently running a given process. -
Uses of Queue.Executable in hudson.model.queue
Modifier and TypeInterfaceDescriptioninterface
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 TypeMethodDescriptionQueueTaskFilter.createExecutable()
SubTask.createExecutable()
Creates an object which performs the actual execution of the task.WorkUnit.getExecutable()
If the execution has already started, return the executable that was created.default Queue.Executable
SubTask.getOwnerExecutable()
If this task is associated with an executable ofSubTask.getOwnerTask()
, finds that.FutureImpl.waitForStart()
Modifier and TypeMethodDescriptionstatic long
Executables.getEstimatedDurationFor
(Queue.Executable e) Deprecated.callgetEstimatedDuration()
directlystatic SubTask
Executables.getParentOf
(Queue.Executable e) Due to the return type change inQueue.Executable
in 1.377, the caller needs a special precaution now.void
WorkUnit.setExecutable
(Queue.Executable executable) This method is only meant to be called internally byExecutor
.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.void
WorkUnitContext.synchronizeEnd
(Queue.Executable executable, Throwable problems, long duration) Deprecated. -
Uses of Queue.Executable in jenkins.model
Modifier and TypeClassDescriptionclass
ParameterizedJobMixIn<JobT extends Job<JobT,
RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT, RunT> & Queue.Task, RunT extends Run<JobT, RunT> & Queue.Executable> Allows aJob
to make use ofParametersDefinitionProperty
and be scheduled in various ways.static interface
ParameterizedJobMixIn.ParameterizedJob<JobT extends Job<JobT,
RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT, RunT> & Queue.Task, RunT extends Run<JobT, RunT> & Queue.Executable> Marker for job using this mixin, and default implementations of many methods.
getEstimatedDuration()
directly