public class Executables extends Object
Queue.Executable
.Constructor and Description |
---|
Executables() |
Modifier and Type | Method and Description |
---|---|
static long |
getEstimatedDurationFor(Queue.Executable e)
Returns the estimated duration for the executable.
|
static SubTask |
getParentOf(Queue.Executable e)
Due to the return type change in
Queue.Executable in 1.377, the caller needs a special precaution now. |
@Nonnull public static SubTask getParentOf(@Nonnull Queue.Executable e) throws Error, RuntimeException
Queue.Executable
in 1.377, the caller needs a special precaution now.e
- ExecutableError
RuntimeException
public static long getEstimatedDurationFor(@CheckForNull Queue.Executable e)
AbstractMethodError
s if the Queue.Executable
implementation
was compiled against Hudson prior to 1.383e
- Executable itemCopyright © 2004–2017. All rights reserved.