Class BuildQueue
java.lang.Object
org.jenkinsci.plugins.jqsmonitoring.buildqueue.BuildQueue
This class implements a BuildQueue and contains information about all queue
jobs.
- Author:
- yboev
-
Constructor Details
-
BuildQueue
public BuildQueue()Constructor method.
-
-
Method Details
-
getApi
REST API.- Returns:
- the api.
-
getNumberOfJobs
@Exported public int getNumberOfJobs()Return the number of queue jobs.- Returns:
- the number of jobs waiting as int.
-
getQueueJobs
Returns a list of all jobs in the queue.- Returns:
- the list
-
refresh
public void refresh()Refresh method for this class.
-