|
||||||||||
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,
org.springframework.orm.hibernate.HibernateTemplate hibernateTemplate)
|
Method Summary | |
---|---|
BuildDefinition |
getBuildDefinition(PlanKey planKey)
Returns a stateful version the build definition for the Plan . |
BuildDefinition |
getUnmergedBuildDefinition(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 newBuildConfiguration)
Saves the Plan and the BuildConfiguration |
void |
savePlanAndDefinition(Plan plan,
BuildDefinition newBuildDefinition)
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 org.springframework.orm.hibernate.HibernateTemplate hibernateTemplate)
Method Detail |
---|
public BuildDefinition getUnmergedBuildDefinition(@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
.
In case of PlanBranches, it will return BuildDefinition specific to a given PlanBranch.
getUnmergedBuildDefinition
in interface BuildDefinitionManager
BuildDefinition
object.@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
.
In case of PlanBranches, it will return BuildDefinition merged with Master plan.
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 newBuildConfiguration)
BuildDefinitionManager
Plan
and the BuildConfiguration
savePlanAndDefinition
in interface BuildDefinitionManager
public void savePlanAndDefinition(Plan plan, BuildDefinition newBuildDefinition)
BuildDefinitionManager
savePlanAndDefinition
in interface BuildDefinitionManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |