public interface BranchIntegrationService
Modifier and Type | Method and Description |
---|---|
ImmutableChain |
getIntegrationPlan(BranchIntegrationConfiguration integrationConfiguration)
Deprecated.
since 6.0. Use
getIntegrationRepository(ImmutablePlan) |
VcsRepositoryData |
getIntegrationRepository(ImmutablePlan plan)
Get repository configured as merge to / merge from in branch configuration.
|
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
|
Map<Long,RepositoryDefinition> |
getRepositoryDefinitionMap(ImmutablePlan plan)
Deprecated.
since 5.14 use
getPlanRepositoryDefinitionMap(ImmutablePlan) |
@NotNull @Deprecated ImmutableChain getIntegrationPlan(@NotNull BranchIntegrationConfiguration integrationConfiguration)
getIntegrationRepository(ImmutablePlan)
integrationConfiguration
- configNullPointerException
- when integration plan is not found@NotNull VcsRepositoryData getIntegrationRepository(@NotNull ImmutablePlan plan)
plan
- NullPointerException
- when plan doesn't have default repository@Deprecated @NotNull Map<Long,RepositoryDefinition> getRepositoryDefinitionMap(@NotNull ImmutablePlan plan)
getPlanRepositoryDefinitionMap(ImmutablePlan)
plan
- @NotNull Map<Long,PlanRepositoryDefinition> getPlanRepositoryDefinitionMap(@NotNull ImmutablePlan plan)
plan
- Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.