Interface BranchIntegrationService

    • Method Detail

      • 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: