public class BranchIntegrationServiceImpl extends Object implements BranchIntegrationService
| Constructor and Description |
|---|
BranchIntegrationServiceImpl(CachedPlanManager cachedPlanManager,
RepositoryDefinitionManager repositoryDefinitionManager) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
getIntegrationPlan(BranchIntegrationConfiguration integrationConfiguration)
Deprecated.
since 6.0. Use {
getIntegrationRepository(ImmutablePlan)}. |
PlanRepositoryDefinition |
getIntegrationRepository(ImmutablePlan plan)
Get repository configured as merge to / merge from in branch configuration.
|
PlanRepositoryDefinition |
getIntegrationRepository(ImmutablePlan plan,
BranchIntegrationPoint branchIntegrationPoint)
Get repository configured as integration point for arbitrary defined integration point (vcs branch or plan)
|
Map<Long,PlanRepositoryDefinition> |
getPlanRepositoryDefinitionMap(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
|
@Inject public BranchIntegrationServiceImpl(CachedPlanManager cachedPlanManager, RepositoryDefinitionManager repositoryDefinitionManager)
@NotNull @Deprecated public ImmutableChain getIntegrationPlan(@NotNull BranchIntegrationConfiguration integrationConfiguration)
getIntegrationRepository(ImmutablePlan)}.BranchIntegrationServicegetIntegrationPlan in interface BranchIntegrationServiceintegrationConfiguration - config@NotNull public PlanRepositoryDefinition getIntegrationRepository(@NotNull ImmutablePlan plan)
BranchIntegrationServicegetIntegrationRepository in interface BranchIntegrationService@NotNull public PlanRepositoryDefinition getIntegrationRepository(@NotNull ImmutablePlan plan, @NotNull BranchIntegrationPoint branchIntegrationPoint)
BranchIntegrationServicegetIntegrationRepository in interface BranchIntegrationService@NotNull public Map<Long,PlanRepositoryDefinition> getPlanRepositoryDefinitionMap(@NotNull ImmutablePlan plan)
BranchIntegrationServicegetPlanRepositoryDefinitionMap in interface BranchIntegrationServiceCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.