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 Details

    • isEnabled

      boolean isEnabled()
    • getStrategy

      @Nullable @Nullable BranchIntegrationStrategy getStrategy()
    • getIntegrationPlanBranchKey

      @Deprecated @Nullable @Nullable PlanKey getIntegrationPlanBranchKey()
      Deprecated.
      since 6.0. Use getIntegrationPoint().
    • getIntegrationPoint

      @NotNull @NotNull BranchIntegrationPoint getIntegrationPoint()
    • isPushEnabled

      boolean isPushEnabled()
      Tells whether Bamboo should push back the merged commit back into upstream repository if the build finishes successfully.
    • getMergeResultDestinationBranch

      @NotNull @NotNull PlanKey getMergeResultDestinationBranch(@NotNull @NotNull PlanKey featureBranch)
      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.
      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

      @NotNull @NotNull String findBranchToMergeWith(@NotNull @NotNull PlanKey featureBranch)
      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.