|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.BuildQueue
Provides an independent thread of execution that knows how to
build Projects. Passes ProjectInterface
objects to a thread
queue. The number of worker threads is defined in config.xml
Nested Class Summary | |
static interface |
BuildQueue.Listener
|
Constructor Summary | |
BuildQueue()
|
Method Summary | |
void |
addListener(BuildQueue.Listener listener)
|
java.lang.String |
findPosition(ProjectInterface project)
|
boolean |
isAlive()
|
boolean |
isWaiting()
|
void |
requestBuild(ProjectInterface project)
|
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BuildQueue()
Method Detail |
public void requestBuild(ProjectInterface project)
project
- public java.lang.String findPosition(ProjectInterface project)
project
- The project to find in the queues
public void run()
run
in interface java.lang.Runnable
public boolean isAlive()
public boolean isWaiting()
public void addListener(BuildQueue.Listener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |