public class Executables extends Object
Queue.Executable
.Constructor and Description |
---|
Executables() |
Modifier and Type | Method and Description |
---|---|
static long |
getEstimatedDurationFor(Queue.Executable e)
Deprecated.
call
Queue.Executable.getEstimatedDuration() directly |
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
@Deprecated public static long getEstimatedDurationFor(@CheckForNull Queue.Executable e)
Queue.Executable.getEstimatedDuration()
directlyAbstractMethodError
s if the Queue.Executable
implementation
was compiled against Hudson prior to 1.383e
- Executable itemCopyright © 2004–2021. All rights reserved.