Package com.atlassian.bamboo.plan.branch
Class BranchIntegrationServiceImpl
java.lang.Object
com.atlassian.bamboo.plan.branch.BranchIntegrationServiceImpl
- All Implemented Interfaces:
BranchIntegrationService
-
Constructor Summary
ConstructorsConstructorDescriptionBranchIntegrationServiceImpl(CachedPlanManager cachedPlanManager, RepositoryDefinitionManager repositoryDefinitionManager) -
Method Summary
Modifier and TypeMethodDescription@NotNull ImmutableChaingetIntegrationPlan(@NotNull BranchIntegrationConfiguration integrationConfiguration) Deprecated.since 6.0.@NotNull PlanRepositoryDefinitiongetIntegrationRepository(@NotNull ImmutablePlan plan) Get repository configured as merge to / merge from in branch configuration.@NotNull PlanRepositoryDefinitiongetIntegrationRepository(@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
-
Constructor Details
-
BranchIntegrationServiceImpl
@Inject public BranchIntegrationServiceImpl(CachedPlanManager cachedPlanManager, RepositoryDefinitionManager repositoryDefinitionManager)
-
-
Method Details
-
getIntegrationPlan
@NotNull @Deprecated public @NotNull ImmutableChain getIntegrationPlan(@NotNull @NotNull BranchIntegrationConfiguration integrationConfiguration) Deprecated.since 6.0. Use {getIntegrationRepository(ImmutablePlan)}.Description copied from interface:BranchIntegrationServiceGet plan configured as merge to / merge from in branch configuration.- Specified by:
getIntegrationPlanin interfaceBranchIntegrationService- Parameters:
integrationConfiguration- config- Returns:
- plan used for integration build
-
getIntegrationRepository
@NotNull public @NotNull PlanRepositoryDefinition getIntegrationRepository(@NotNull @NotNull ImmutablePlan plan) Description copied from interface:BranchIntegrationServiceGet repository configured as merge to / merge from in branch configuration.- Specified by:
getIntegrationRepositoryin interfaceBranchIntegrationService- Parameters:
plan-- Returns:
- integration repository
-
getIntegrationRepository
@NotNull public @NotNull PlanRepositoryDefinition getIntegrationRepository(@NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull BranchIntegrationPoint branchIntegrationPoint) Description copied from interface:BranchIntegrationServiceGet repository configured as integration point for arbitrary defined integration point (vcs branch or plan)- Specified by:
getIntegrationRepositoryin interfaceBranchIntegrationService- Parameters:
plan-branchIntegrationPoint-
-
getPlanRepositoryDefinitionMap
@NotNull public @NotNull Map<Long,PlanRepositoryDefinition> getPlanRepositoryDefinitionMap(@NotNull @NotNull ImmutablePlan plan) Description copied from interface:BranchIntegrationServiceGet repository definition map for a given plan and if Branch Integration was configured merge it with repository definition of branch selected in Integration Configuration- Specified by:
getPlanRepositoryDefinitionMapin interfaceBranchIntegrationService- Parameters:
plan-- Returns:
-