|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.buildqueue.manager.PipelineManagerImpl
public class PipelineManagerImpl
| Constructor Summary | |
|---|---|
PipelineManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
disableAllPipelines()
Disable all pipelines |
void |
enableAllPipelines()
Enable all pipelines |
Collection |
getAllPipelines()
Returns all BuildPipeline objects |
BuildPipeline |
getPipeline(long pipelineId)
Returns the pipeline that matches the passed id |
void |
init()
sets up pipelines with persisted pipelines only |
void |
removeAllPipelines()
Removes the BuildPipeline with the matching id |
void |
removePipeline(long pipelineId)
Removes the BuildPipeline with the matching id |
void |
savePipeline(PipelineDefinition pipelineDefinition)
Stores the PipelineDefinition. |
void |
setBuildEventNotifier(BuildEventNotifier buildEventNotifier)
|
void |
setErrorHandler(ErrorHandler errorHandler)
|
void |
setPipelineDao(PipelineDao pipelineDao)
|
void |
setupDefaultPipeline()
sets up a default pipeline if no pipelines have been persisted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PipelineManagerImpl()
| Method Detail |
|---|
public void setupDefaultPipeline()
PipelineManager
setupDefaultPipeline in interface PipelineManagerpublic void init()
PipelineManager
init in interface PipelineManagerpublic Collection getAllPipelines()
PipelineManagerBuildPipeline objects
getAllPipelines in interface PipelineManagerBuildPipeline objects, or Collections.EMPTY_LIST if none exists.public void savePipeline(PipelineDefinition pipelineDefinition)
PipelineManagerPipelineDefinition. Updates any caches so calls to PipelineManager.getPipeline(long) will return the
BuildPipeline returns with the new definition
savePipeline in interface PipelineManagerpipelineDefinition - - Must not be nullpublic BuildPipeline getPipeline(long pipelineId)
PipelineManager
getPipeline in interface PipelineManagerBuildPipeline object. Null if pipeline does not existpublic void removePipeline(long pipelineId)
PipelineManagerBuildPipeline with the matching id
removePipeline in interface PipelineManagerpublic void removeAllPipelines()
PipelineManagerBuildPipeline with the matching id
removeAllPipelines in interface PipelineManagerpublic void disableAllPipelines()
PipelineManager
disableAllPipelines in interface PipelineManagerpublic void enableAllPipelines()
PipelineManager
enableAllPipelines in interface PipelineManagerpublic void setPipelineDao(PipelineDao pipelineDao)
public void setBuildEventNotifier(BuildEventNotifier buildEventNotifier)
public void setErrorHandler(ErrorHandler errorHandler)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||