|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PipelineManager
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 |
setupDefaultPipeline()
sets up a default pipeline if no pipelines have been persisted |
Method Detail |
---|
void setupDefaultPipeline()
void init()
Collection getAllPipelines()
BuildPipeline
objects
BuildPipeline
objects, or Collections.EMPTY_LIST if none exists.void savePipeline(PipelineDefinition pipelineDefinition)
PipelineDefinition
. Updates any caches so calls to getPipeline(long)
will return the
BuildPipeline
returns with the new definition
pipelineDefinition
- - Must not be nullBuildPipeline getPipeline(long pipelineId)
pipelineId
-
BuildPipeline
object. Null if pipeline does not existvoid removePipeline(long pipelineId)
BuildPipeline
with the matching id
pipelineId
-
IllegalStateException
- - is thrown if BuildPipeline.isBusy()
returns truevoid removeAllPipelines()
BuildPipeline
with the matching id
IllegalStateException
- - is thrown if BuildPipeline.isBusy()
returns truevoid disableAllPipelines()
void enableAllPipelines()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |