public class BranchIntegrationServiceImpl extends Object implements BranchIntegrationService
Constructor and Description |
---|
BranchIntegrationServiceImpl(ImmutablePlanCacheService immutablePlanCacheService) |
Modifier and Type | Method and Description |
---|---|
ImmutableChain |
getIntegrationPlan(BranchIntegrationConfiguration integrationConfiguration)
Get plan configured as merge to / merge from in branch configuration.
|
Map<Long,RepositoryDefinition> |
getRepositoryDefinitionMap(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
|
public BranchIntegrationServiceImpl(ImmutablePlanCacheService immutablePlanCacheService)
@NotNull public ImmutableChain getIntegrationPlan(@NotNull BranchIntegrationConfiguration integrationConfiguration)
BranchIntegrationService
getIntegrationPlan
in interface BranchIntegrationService
@NotNull public Map<Long,RepositoryDefinition> getRepositoryDefinitionMap(@NotNull ImmutablePlan plan)
BranchIntegrationService
getRepositoryDefinitionMap
in interface BranchIntegrationService
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.