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