Class PlanBranchConfiguration
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<PlanBranchConfigurationProperties>
com.atlassian.bamboo.specs.api.builders.plan.branches.PlanBranchConfiguration
public class PlanBranchConfiguration
extends EntityPropertiesBuilder<PlanBranchConfigurationProperties>
Represents configuration items that are specific for plan branches.
These settings are only applied to the current branch, if Specs branches are active.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbranchIntegration
(@NotNull BranchIntegration branchIntegration) Sets merge strategy for this plan branch.protected PlanBranchConfigurationProperties
build()
@NotNull PlanBranchConfiguration
cleanupEnabled
(boolean cleanupEnabled) Enables/disables automatic removal of this plan branch.@NotNull PlanBranchConfiguration
Disables automatic removal of this plan branch.@NotNull PlanBranchConfiguration
Enables automatic removal of this plan branch.
-
Constructor Details
-
PlanBranchConfiguration
public PlanBranchConfiguration()
-
-
Method Details
-
cleanupEnabled
Enables/disables automatic removal of this plan branch. By default, automatic cleanup is enabled. -
disableAutomaticCleanup
Disables automatic removal of this plan branch. -
enableAutomaticCleanup
Enables automatic removal of this plan branch. -
branchIntegration
public PlanBranchConfiguration branchIntegration(@NotNull @NotNull BranchIntegration branchIntegration) throws PropertiesValidationException Sets merge strategy for this plan branch. By default, merging is turned off.- Throws:
PropertiesValidationException
- See Also:
-
build
- Specified by:
build
in classEntityPropertiesBuilder<PlanBranchConfigurationProperties>
-