Package com.atlassian.bamboo.plan.branch
Interface BranchIntegrationConfiguration
- All Superinterfaces:
ConfigurationMergingCapable,ConvertibleFromConfig,OptionallyConvertibleFromConfig,Serializable
- All Known Implementing Classes:
BranchIntegrationConfigurationImpl
public interface BranchIntegrationConfiguration
extends OptionallyConvertibleFromConfig, ConfigurationMergingCapable, Serializable
This interface is used to store branch "integration strategy" settings - the thing
that does the merge with an arbitrary branch (so called 'integration branch')
prior to executing the jobs, and pushing the merge commit
back to the repository after successful build.
-
Method Summary
Modifier and TypeMethodDescription@NotNull StringfindBranchToMergeWith(@NotNull PlanKey featureBranch) Returns the PlanKey or branch name of the relevant vcs branch we want to merge with.@Nullable PlanKeygetBranchToMergeWith(@NotNull PlanKey featureBranch) Deprecated.since 6.0.@Nullable PlanKeyDeprecated.since 6.0.@NotNull BranchIntegrationPoint@NotNull PlanKeygetMergeResultDestinationBranch(@NotNull PlanKey featureBranch) Returns the PlanKey of the relevant VCS branch we want to perform the merge on.@Nullable BranchIntegrationStrategybooleanbooleanTells whether Bamboo should push back the merged commit back into upstream repository if the build finishes successfully.Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConfigurationMergingCapable
toConfigurationMethods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfigurationMethods inherited from interface com.atlassian.bamboo.fieldvalue.OptionallyConvertibleFromConfig
isValid
-
Method Details
-
isEnabled
boolean isEnabled() -
getStrategy
-
getIntegrationPlanBranchKey
Deprecated.since 6.0. UsegetIntegrationPoint(). -
getIntegrationPoint
-
isPushEnabled
boolean isPushEnabled()Tells whether Bamboo should push back the merged commit back into upstream repository if the build finishes successfully. -
getMergeResultDestinationBranch
Returns the PlanKey of the relevant VCS branch we want to perform the merge on. In Hg/Git/SVN terms, this will be the VCS branch we checkout prior to merge. -
getBranchToMergeWith
@Deprecated @Nullable @Nullable PlanKey getBranchToMergeWith(@NotNull @NotNull PlanKey featureBranch) Deprecated.since 6.0. UsefindBranchToMergeWith(PlanKey)Returns the PlanKey we want to merge with. Used only for debug messages In Hg/Git/SVN terms, this will be the VCS branch we merge with after checkout. -
findBranchToMergeWith
Returns the PlanKey or branch name of the relevant vcs branch we want to merge with. Used only for debug messages In Hg/Git/SVN terms, this will be the VCS branch we merge with after checkout.
-