Package com.atlassian.bamboo.plan.branch
Interface VcsBranchIntegrationHelper
-
- All Known Implementing Classes:
BranchIntegrationHelperImpl
public interface VcsBranchIntegrationHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getCommitterEmail()
String
getCommitterName()
String
getIntegrationCommitMessage()
@Nullable VcsBranch
getIntegrationVcsBranch(@NotNull BuildContext buildContext)
@Nullable PlanRepositoryDefinition
getIntegrationVcsRepository(@NotNull BuildContext buildContext)
Deprecated.since 6.0, usegetIntegrationVcsBranch(BuildContext)
@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 Detail
-
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
@Nullable @Nullable VcsBranch getIntegrationVcsBranch(@NotNull @NotNull BuildContext buildContext)
- 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
-
-