Package com.atlassian.bamboo.plan.branch
Interface BranchIntegrationService
-
- All Known Implementing Classes:
BranchIntegrationServiceImpl
public interface BranchIntegrationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull ImmutableChain
getIntegrationPlan(@NotNull BranchIntegrationConfiguration integrationConfiguration)
Deprecated.since 6.0.@NotNull VcsRepositoryData
getIntegrationRepository(@NotNull ImmutablePlan plan)
Get repository configured as merge to / merge from in branch configuration.@NotNull PlanRepositoryDefinition
getIntegrationRepository(@NotNull ImmutablePlan plan, @NotNull BranchIntegrationPoint branchIntegrationPoint)
Get repository configured as integration point for arbitrary defined integration point (vcs branch or plan)@NotNull Map<Long,PlanRepositoryDefinition>
getPlanRepositoryDefinitionMap(@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
-
-
-
Method Detail
-
getIntegrationPlan
@NotNull @Deprecated @NotNull ImmutableChain getIntegrationPlan(@NotNull @NotNull BranchIntegrationConfiguration integrationConfiguration)
Deprecated.since 6.0. UsegetIntegrationRepository(ImmutablePlan)
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:
-
-