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
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Method Summary
Modifier and TypeMethodDescriptionReturns aFutureobject that can be used to wait for the start of the task execution.Short forgetStartCondition().get()Methods inherited from interface java.util.concurrent.Future
cancel, exceptionNow, get, get, isCancelled, isDone, resultNow, state
-
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()
-