@ExportedBean public class RunningJob extends Object
| Constructor and Description |
|---|
RunningJob(LocalConfig lc,
hudson.model.Executor executor,
hudson.model.Slave slave)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
hudson.model.Api |
getApi() |
String |
getColor()
Returns the color.
|
static ArrayList<RunningJob> |
getJobsRunningTooLong(ArrayList<hudson.model.Slave> slaves)
Returns a list of jobs being build for too long.
|
String |
getJobUrl()
Returns the job url.
|
String |
getName()
Returns the name of the job.
|
String |
getRemainingTime()
return the remaining time as string that is human readable.
|
String |
getRunningTime()
Returns the time this job as been running.
|
hudson.model.Slave |
getSlave()
Returns the slave.
|
String |
getSlaveUrl()
Returns the slave url on which this job runs.
|
public RunningJob(LocalConfig lc, hudson.model.Executor executor, hudson.model.Slave slave)
lc - local configuration.executor - the executor.slave - the slave.public hudson.model.Api getApi()
@Exported public String getSlaveUrl()
@Exported public String getJobUrl()
@Exported public String getColor()
@Exported public String getName()
@Exported public hudson.model.Slave getSlave()
@Exported public String getRunningTime()
@Exported public String getRemainingTime()
public static ArrayList<RunningJob> getJobsRunningTooLong(ArrayList<hudson.model.Slave> slaves)
slaves - list of all slavesCopyright © 2004-2013. All Rights Reserved.