Package com.atlassian.bamboo.plan.branch
Interface VcsBranchIntegrationHelper
- All Known Implementing Classes:
BranchIntegrationHelperImpl
public interface VcsBranchIntegrationHelper
-
Method Summary
Modifier and TypeMethodDescription@Nullable VcsBranch
getIntegrationVcsBranch
(@NotNull BuildContext buildContext) @Nullable PlanRepositoryDefinition
getIntegrationVcsRepository
(@NotNull BuildContext buildContext) Deprecated.@NotNull MergeResult
merge
(@NotNull BuildContext buildContext, @NotNull VcsRepositoryData repositoryData, @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull VcsBranch integrationBranch, @NotNull File mergeDir, @Nullable BuildLogger logger) void
mergeAndUpdateResult
(@NotNull BuildContext buildContext, @NotNull PlanRepositoryDefinition defaultRepositoryDef, @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull MergeResultContext mergeResult, @NotNull File mergeDir, @Nullable BuildLogger buildLogger, @NotNull Consumer<MergeResult> mergeResultConsumer, @NotNull Runnable afterMergeFinished)
-
Method Details
-
getIntegrationCommitMessage
String getIntegrationCommitMessage() -
getCommitterName
String getCommitterName() -
getCommitterEmail
String getCommitterEmail() -
getIntegrationVcsRepository
@Deprecated @Nullable @Nullable PlanRepositoryDefinition getIntegrationVcsRepository(@NotNull @NotNull BuildContext buildContext) Deprecated.since 6.0, usegetIntegrationVcsBranch(BuildContext)
- Parameters:
buildContext
-- Returns:
-
getIntegrationVcsBranch
- Parameters:
buildContext
-- Returns:
- Since:
- 6.0
-
merge
@NotNull @NotNull MergeResult merge(@NotNull @NotNull BuildContext buildContext, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull @NotNull VcsBranch integrationBranch, @NotNull @NotNull File mergeDir, @Nullable @Nullable BuildLogger logger) throws RepositoryException - Throws:
RepositoryException
-
mergeAndUpdateResult
void mergeAndUpdateResult(@NotNull @NotNull BuildContext buildContext, @NotNull @NotNull PlanRepositoryDefinition defaultRepositoryDef, @NotNull @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull @NotNull MergeResultContext mergeResult, @NotNull @NotNull File mergeDir, @Nullable @Nullable BuildLogger buildLogger, @NotNull @NotNull Consumer<MergeResult> mergeResultConsumer, @NotNull @NotNull Runnable afterMergeFinished) - Since:
- 9.0
-
getIntegrationVcsBranch(BuildContext)