hudson.plugins.buildblocker
Class BlockingJobsMonitor
java.lang.Object
hudson.plugins.buildblocker.BlockingJobsMonitor
public class BlockingJobsMonitor
- extends Object
This class represents a monitor that checks all running jobs if
one of their names matches with one of the given blocking job's
regular expressions.
The first hit returns the blocking job's name.
|
Method Summary |
hudson.model.queue.SubTask |
getBlockingJob()
Returns the name of the first blocking job. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockingJobsMonitor
public BlockingJobsMonitor(String blockingJobs)
- Constructor using the job configuration entry for blocking jobs
- Parameters:
blockingJobs - line feed separated list og blocking jobs
getBlockingJob
public hudson.model.queue.SubTask getBlockingJob()
- Returns the name of the first blocking job. If not found, it returns null.
- Returns:
- the name of the first blocking job.
Copyright © 2004-2012. All Rights Reserved.