Package com.atlassian.bamboo.plan.branch
Class BranchIntegrationServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.branch.BranchIntegrationServiceImpl
-
- All Implemented Interfaces:
BranchIntegrationService
public class BranchIntegrationServiceImpl extends Object implements BranchIntegrationService
-
-
Constructor Summary
Constructors Constructor Description BranchIntegrationServiceImpl(CachedPlanManager cachedPlanManager, RepositoryDefinitionManager repositoryDefinitionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @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 Detail
-
BranchIntegrationServiceImpl
@Inject public BranchIntegrationServiceImpl(CachedPlanManager cachedPlanManager, RepositoryDefinitionManager repositoryDefinitionManager)
-
-
Method Detail
-
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- 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
-
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- Returns:
-
-