|
||||||||||
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 PipelineManager
public void init()
PipelineManager
init
in interface PipelineManager
public Collection getAllPipelines()
PipelineManager
BuildPipeline
objects
getAllPipelines
in interface PipelineManager
BuildPipeline
objects, or Collections.EMPTY_LIST if none exists.public void savePipeline(PipelineDefinition pipelineDefinition)
PipelineManager
PipelineDefinition
. Updates any caches so calls to PipelineManager.getPipeline(long)
will return the
BuildPipeline
returns with the new definition
savePipeline
in interface PipelineManager
pipelineDefinition
- - Must not be nullpublic BuildPipeline getPipeline(long pipelineId)
PipelineManager
getPipeline
in interface PipelineManager
BuildPipeline
object. Null if pipeline does not existpublic void removePipeline(long pipelineId)
PipelineManager
BuildPipeline
with the matching id
removePipeline
in interface PipelineManager
public void removeAllPipelines()
PipelineManager
BuildPipeline
with the matching id
removeAllPipelines
in interface PipelineManager
public void disableAllPipelines()
PipelineManager
disableAllPipelines
in interface PipelineManager
public void enableAllPipelines()
PipelineManager
enableAllPipelines
in interface PipelineManager
public 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 |