|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.DefaultBuildDefinitionManager
@ThreadSafe public class DefaultBuildDefinitionManager
Constructor Summary | |
---|---|
DefaultBuildDefinitionManager(BuildDefinitionConverter buildDefinitionConverter,
PlanScheduler planScheduler,
PlanManager planManager,
com.atlassian.plugin.PluginAccessor pluginAccessor,
PlanVcsRevisionHistoryService planVcsRevisionHistoryService)
|
Method Summary | |
---|---|
BuildDefinition |
getBuildDefinition(PlanKey planKey)
Returns a stateful version the build definition for the Plan . |
void |
savePlanAndDefinition(Plan plan)
Saves the Plan and the BuildConfiguration |
void |
savePlanAndDefinition(Plan plan,
BuildConfiguration buildConfiguration)
Saves the Plan and the BuildConfiguration |
void |
savePlanAndDefinition(Plan plan,
BuildDefinition buildDefinition)
Convert and save the build definition. |
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 PlanManager planManager, @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor, @NotNull PlanVcsRevisionHistoryService planVcsRevisionHistoryService)
Method Detail |
---|
@NotNull public BuildDefinition getBuildDefinition(@NotNull PlanKey planKey)
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
BuildDefinition
object.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
public void savePlanAndDefinition(Plan plan, BuildDefinition buildDefinition)
BuildDefinitionManager
savePlanAndDefinition
in interface BuildDefinitionManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |