|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.DefaultBuildDefinitionManager
public class DefaultBuildDefinitionManager
Constructor Summary | |
---|---|
DefaultBuildDefinitionManager(BuildDefinitionConverter buildDefinitionConverter,
PlanScheduler planScheduler,
com.atlassian.event.EventManager eventManager,
PlanManager planManager)
|
Method Summary | |
---|---|
BuildDefinition |
getBuildDefinition(Plan plan)
Returns a stateful version the build definition for the Plan . |
void |
removeBuildDefinition(Plan plan)
|
void |
savePlanAndDefinition(Plan plan)
Saves the Plan and the BuildConfiguration |
void |
savePlanAndDefinition(Plan plan,
BuildConfiguration buildConfiguration)
Saves the Plan and the BuildConfiguration |
void |
updateBuildDefinition(Plan plan)
Updates the build definition in the cache |
void |
updateBuildDefinition(Plan plan,
BuildDefinition oldBuildDefinition)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBuildDefinitionManager(@NotNull BuildDefinitionConverter buildDefinitionConverter, @NotNull PlanScheduler planScheduler, @NotNull com.atlassian.event.EventManager eventManager, @NotNull PlanManager planManager)
Method Detail |
---|
@NotNull public BuildDefinition getBuildDefinition(@NotNull Plan plan)
BuildDefinitionManager
Plan
. This means that when you set various flags
on it, the flags won't be lost (unless you updated your BuildDefinition
.
getBuildDefinition
in interface BuildDefinitionManager
plan
- @NotNull
BuildDefinition
object.public void updateBuildDefinition(Plan plan)
BuildDefinitionManager
updateBuildDefinition
in interface BuildDefinitionManager
plan
- @NotNullpublic void updateBuildDefinition(Plan plan, BuildDefinition oldBuildDefinition)
updateBuildDefinition
in interface BuildDefinitionManager
public void removeBuildDefinition(Plan plan)
removeBuildDefinition
in interface BuildDefinitionManager
public void savePlanAndDefinition(Plan plan)
BuildDefinitionManager
Plan
and the BuildConfiguration
savePlanAndDefinition
in interface BuildDefinitionManager
public void savePlanAndDefinition(Plan plan, BuildConfiguration buildConfiguration)
BuildDefinitionManager
Plan
and the BuildConfiguration
savePlanAndDefinition
in interface BuildDefinitionManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |