public class BranchIntegrationHelperImpl extends Object implements VcsBranchIntegrationHelper
Constructor and Description |
---|
BranchIntegrationHelperImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor) |
Modifier and Type | Method and Description |
---|---|
String |
getCommitterEmail() |
String |
getCommitterName() |
String |
getIntegrationCommitMessage() |
VcsBranch |
getIntegrationVcsBranch(BuildContext buildContext) |
PlanRepositoryDefinition |
getIntegrationVcsRepository(BuildContext buildContext) |
MergeResult |
merge(BuildContext buildContext,
VcsRepositoryData defaultRepositoryDefinition,
VcsRepositoryModuleDescriptor moduleDescriptor,
VcsBranch integrationBranch,
File mergeDir,
BuildLogger logger) |
protected String |
toBuildLogger(BuildLogger logger,
String msg) |
public BranchIntegrationHelperImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor)
public String getIntegrationCommitMessage()
getIntegrationCommitMessage
in interface VcsBranchIntegrationHelper
public String getCommitterName()
getCommitterName
in interface VcsBranchIntegrationHelper
public String getCommitterEmail()
getCommitterEmail
in interface VcsBranchIntegrationHelper
@NotNull protected String toBuildLogger(@Nullable BuildLogger logger, @NotNull String msg)
@Nullable public PlanRepositoryDefinition getIntegrationVcsRepository(@NotNull BuildContext buildContext)
getIntegrationVcsRepository
in interface VcsBranchIntegrationHelper
@Nullable public VcsBranch getIntegrationVcsBranch(@NotNull BuildContext buildContext)
getIntegrationVcsBranch
in interface VcsBranchIntegrationHelper
@NotNull public MergeResult merge(@NotNull BuildContext buildContext, @NotNull VcsRepositoryData defaultRepositoryDefinition, @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull VcsBranch integrationBranch, @NotNull File mergeDir, @Nullable BuildLogger logger) throws RepositoryException
merge
in interface VcsBranchIntegrationHelper
RepositoryException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.