@ExportedBean public class QueueJob extends Object implements Comparable<QueueJob>
| Constructor and Description |
|---|
QueueJob(hudson.model.Queue.BuildableItem item,
long currentTime)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(QueueJob qj)
Implementation of the comparing method.
|
hudson.model.Api |
getApi()
REST API
|
String |
getCauseOfBlockage()
Returns why the job is waiting in the queue.
|
String |
getColor()
Color to be used for this job.
|
String |
getIcon()
Returns the icon for this queue job.
|
String |
getName()
Returns ID of the waiting job.
|
String |
getStatus()
Returns the status of this queue job.
|
String |
getTime()
Color Returns the time which a job has spend in the queue waiting as a
formate String.
|
String |
getUrl()
Returns the url for this queue job.
|
public QueueJob(hudson.model.Queue.BuildableItem item,
long currentTime)
item - the job(item) waiting in the queuecurrentTime - the current time on which all items have been retrievedpublic hudson.model.Api getApi()
@Exported public String getStatus()
@Exported public String getName()
@Exported public String getTime()
@Exported public String getCauseOfBlockage()
@Exported public String getColor()
public int compareTo(QueueJob qj)
compareTo in interface Comparable<QueueJob>@Exported public String getIcon()
@Exported public String getUrl()
Copyright © 2004-2013. All Rights Reserved.