Interface BranchIntegrationService

All Known Implementing Classes:
BranchIntegrationServiceImpl

public interface BranchIntegrationService
  • Method Details

    • getIntegrationPlan

      @NotNull @Deprecated @NotNull ImmutableChain getIntegrationPlan(@NotNull @NotNull BranchIntegrationConfiguration integrationConfiguration)
      Deprecated.
      Get plan configured as merge to / merge from in branch configuration.
      Parameters:
      integrationConfiguration - config
      Returns:
      plan used for integration build
      Throws:
      NullPointerException - when integration plan is not found
    • getIntegrationRepository

      @NotNull @NotNull VcsRepositoryData getIntegrationRepository(@NotNull @NotNull ImmutablePlan plan)
      Get repository configured as merge to / merge from in branch configuration.
      Parameters:
      plan -
      Returns:
      integration repository
      Throws:
      NullPointerException - when plan doesn't have default repository
      Since:
      6.0
    • getIntegrationRepository

      @NotNull @NotNull PlanRepositoryDefinition getIntegrationRepository(@NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull BranchIntegrationPoint branchIntegrationPoint)
      Get repository configured as integration point for arbitrary defined integration point (vcs branch or plan)
      Parameters:
      plan -
      branchIntegrationPoint -
      Since:
      6.4
    • getPlanRepositoryDefinitionMap

      @NotNull @NotNull Map<Long,PlanRepositoryDefinition> getPlanRepositoryDefinitionMap(@NotNull @NotNull ImmutablePlan plan)
      Get repository definition map for a given plan and if Branch Integration was configured merge it with repository definition of branch selected in Integration Configuration
      Parameters:
      plan -
      Returns: