|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jenkinsci.plugins.jqsmonitoring.beingbuilt.RunningJob
@ExportedBean public class RunningJob
Class representing a job that has been running.
| Constructor Summary | |
|---|---|
RunningJob(LocalConfig lc,
hudson.model.Executor executor,
hudson.model.Slave slave)
Constructor |
|
| Method Summary | |
|---|---|
hudson.model.Api |
getApi()
REST API. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunningJob(LocalConfig lc,
hudson.model.Executor executor,
hudson.model.Slave slave)
lc - local configuration.executor - the executor.slave - the slave.| Method Detail |
|---|
public hudson.model.Api getApi()
@Exported public String getSlaveUrl()
@Exported public String getJobUrl()
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 slaves
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||