Package hudson.model.queue
Interface QueueTaskFuture<R extends Queue.Executable>
- All Superinterfaces:
Future<R>
- All Known Implementing Classes:
FutureImpl
Future that can be used to wait for the start and the end of the task execution
(such as a build.)
For a historical reason, this object itself extends from Future to signal the
end of the task execution, and getStartCondition() returns a separate
Future object that waits for the start of the task.
- Since:
- 1.469
- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionReturns aFutureobject that can be used to wait for the start of the task execution.Short forgetStartCondition().get()
-
Method Details
-
getStartCondition
Returns aFutureobject that can be used to wait for the start of the task execution.- Returns:
- never return null.
-
waitForStart
Short forgetStartCondition().get()
-