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)
}.BranchIntegrationService
getIntegrationPlan
in interface BranchIntegrationService
integrationConfiguration
- config@NotNull public PlanRepositoryDefinition getIntegrationRepository(@NotNull ImmutablePlan plan)
BranchIntegrationService
getIntegrationRepository
in interface BranchIntegrationService
@NotNull public PlanRepositoryDefinition getIntegrationRepository(@NotNull ImmutablePlan plan, @NotNull BranchIntegrationPoint branchIntegrationPoint)
BranchIntegrationService
getIntegrationRepository
in interface BranchIntegrationService
@NotNull public Map<Long,PlanRepositoryDefinition> getPlanRepositoryDefinitionMap(@NotNull ImmutablePlan plan)
BranchIntegrationService
getPlanRepositoryDefinitionMap
in interface BranchIntegrationService
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.