public interface MergingVcsWorkingCopyManager extends VcsWorkingCopyManager
VcsWorkingCopyManager that can do merges.| Modifier and Type | Method and Description |
|---|---|
default boolean |
canDoMerge() |
VcsWorkingCopy |
checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath)
Checks out the targetBranch and merges sourceBranch to it.
|
default Set<Requirement> |
getMergingRequirements()
If executing merge imposes capability requirements on top of those
returned by
VcsExecutorWithRequirements#getRequirements(), return them here. |
retrieveSourceCode, updateToLatestRevisiondefault boolean canDoMerge()
@NotNull default Set<Requirement> getMergingRequirements()
VcsExecutorWithRequirements#getRequirements(), return them here.@NotNull VcsWorkingCopy checkoutAndMerge(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) throws RepositoryException
vcsRepositoryData - configuration of the repository. Note that the following parameters override branch stored in repository data.targetBranch - - target branch (branch to checkout and merge to)revisionOnTarget - - revision to checkout and merge tosourceBranch - - branch to merge fromsourceRevision - - revision to merge fromtargetPath - - workings copy's pathRepositoryExceptionCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.