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.
|
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
|
@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@NotNull PlanRepositoryDefinition getIntegrationRepository(@NotNull ImmutablePlan plan, @NotNull BranchIntegrationPoint branchIntegrationPoint)
plan
- branchIntegrationPoint
- @NotNull Map<Long,PlanRepositoryDefinition> getPlanRepositoryDefinitionMap(@NotNull ImmutablePlan plan)
plan
- Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.