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
Constructors Constructor Description PlanBranchConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanBranchConfigurationbranchIntegration(@NotNull BranchIntegration branchIntegration)Sets merge strategy for this plan branch.protected PlanBranchConfigurationPropertiesbuild()@NotNull PlanBranchConfigurationcleanupEnabled(boolean cleanupEnabled)Enables/disables automatic removal of this plan branch.@NotNull PlanBranchConfigurationdisableAutomaticCleanup()Disables automatic removal of this plan branch.@NotNull PlanBranchConfigurationenableAutomaticCleanup()Enables automatic removal of this plan branch.
-
-
-
Method Detail
-
cleanupEnabled
@NotNull public @NotNull PlanBranchConfiguration cleanupEnabled(boolean cleanupEnabled)
Enables/disables automatic removal of this plan branch. By default, automatic cleanup is enabled.
-
disableAutomaticCleanup
@NotNull public @NotNull PlanBranchConfiguration disableAutomaticCleanup()
Disables automatic removal of this plan branch.
-
enableAutomaticCleanup
@NotNull public @NotNull PlanBranchConfiguration 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:
BranchIntegration
-
build
protected PlanBranchConfigurationProperties build()
- Specified by:
buildin classEntityPropertiesBuilder<PlanBranchConfigurationProperties>
-
-