|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.buildqueue.SimpleBuildQueue
public class SimpleBuildQueue
This class builds a simple build queue for displaying to the user.
| Constructor Summary | |
|---|---|
SimpleBuildQueue(TaskDaemon buildTask,
BuildExecutor buildExecutor,
PipelineDefinition definition)
Create the build queue |
|
| Method Summary | |
|---|---|
void |
add(BuildResults buildResults)
Add the build name to end of the current build queue |
String |
getName()
|
Collection |
getQueue()
Provide the queue so that the UI can display it |
void |
remove(Build build)
Remove the given build from the queue. |
void |
removeBuildKey(String buildKey)
Add the given build to the build queue. |
void |
setDefinition(PipelineDefinition pipelineDefinition)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleBuildQueue(TaskDaemon buildTask,
BuildExecutor buildExecutor,
PipelineDefinition definition)
buildTask - The build task so that the current build job can be killed by the userbuildExecutor - Access to the builds being builtdefinition - | Method Detail |
|---|
public String getName()
getName in interface BuildQueuepublic void add(BuildResults buildResults)
buildResults - public void remove(Build build)
build - The build being removedpublic void removeBuildKey(String buildKey)
BuildQueue
removeBuildKey in interface BuildQueuepublic Collection getQueue()
getQueue in interface BuildQueuepublic void setDefinition(PipelineDefinition pipelineDefinition)
setDefinition in interface BuildQueue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||