public static interface Queue.Executable extends Runnable
Executor.
Implementation must have executorCell.jelly, which is used to render the HTML that indicates this executable is executing.
| Modifier and Type | Method and Description |
|---|---|
long |
getEstimatedDuration()
Estimate of how long will it take to execute this executable.
|
SubTask |
getParent()
Task from which this executable was created.
|
void |
run()
Called by
Executor to perform the task. |
String |
toString()
Used to render the HTML.
|
@Nonnull SubTask getParent()
Since this method went through a signature change in 1.377, the invocation may results in
AbstractMethodError.
Use Executables.getParentOf(Queue.Executable) that avoids this.
void run() throws AsynchronousExecution
Executor to perform the task.run in interface RunnableAsynchronousExecution - if you would like to continue without consuming a threadlong getEstimatedDuration()
Executables.getEstimatedDurationFor(Queue.Executable)
to protected against AbstractMethodErrors!Copyright © 2019. All rights reserved.