public class BlockingJobsMonitor extends Object
| Constructor and Description |
|---|
BlockingJobsMonitor(String blockingJobs)
Constructor using the job configuration entry for blocking jobs
|
| Modifier and Type | Method and Description |
|---|---|
hudson.model.queue.SubTask |
getBlockingJob(hudson.model.Queue.Item item)
Returns the name of the first blocking job.
|
public BlockingJobsMonitor(String blockingJobs)
blockingJobs - line feed separated list og blocking jobspublic hudson.model.queue.SubTask getBlockingJob(hudson.model.Queue.Item item)
item - The queue item for which we are checking whether it can run or not.
or null if we are not checking a job from the queue (currently only used by testing).Copyright © 2004-2013. All Rights Reserved.