hudson.model.queue
Class Executables
java.lang.Object
hudson.model.queue.Executables
public class Executables
- extends Object
Convenience methods around Queue.Executable
.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Executables
public Executables()
getParentOf
public static SubTask getParentOf(Queue.Executable e)
- Due to the return type change in
Queue.Executable
, the caller needs a special precaution now.
getEstimatedDurationFor
public static long getEstimatedDurationFor(Queue.Executable e)
- Returns the estimated duration for the executable.
Protects against
AbstractMethodError
s if the Queue.Executable
implementation
was compiled against Hudson < 1.383
Copyright © 2004-2013. All Rights Reserved.