public class LegacyFixedDirectoryWorkingCopyManager extends LegacyWorkingCopyManager implements FixedDirectoryWorkingCopyManager
repositoryModuleDescriptor
Constructor and Description |
---|
LegacyFixedDirectoryWorkingCopyManager(RepositoryModuleDescriptor repositoryModuleDescriptor,
BuildLoggerManager buildLoggerManager) |
Modifier and Type | Method and Description |
---|---|
File |
getWorkingCopyPath(CommonContext commonContext,
VcsRepositoryData repositoryData)
Based on configuration and current context produce absolute path to the working copy.
|
VcsWorkingCopy |
retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision)
Checkout or update a working copy to a revision.
|
VcsWorkingCopy |
retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath)
Checkout or update a working copy to a revision.
|
VcsWorkingCopy |
updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath)
Checkout or update a working copy to the latest revision.
|
checkoutAndMerge, commitLocal, updateRemote
getNewRepositoryInstance, getNewRepositoryInstanceAs, getRepositoryInstance, getRepositoryInstanceAs, xmlToConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canDoMerge, getMergingRequirements
stageChanges
public LegacyFixedDirectoryWorkingCopyManager(RepositoryModuleDescriptor repositoryModuleDescriptor, BuildLoggerManager buildLoggerManager)
@NotNull public VcsWorkingCopy updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) throws RepositoryException
VcsWorkingCopyManager
updateToLatestRevision
in interface FixedDirectoryWorkingCopyManager
updateToLatestRevision
in interface VcsWorkingCopyManager
updateToLatestRevision
in class LegacyWorkingCopyManager
commonContext
- - a current build or deployment contextrepositoryData
- - configuration of a repository to checkout/updatetargetPath
- - workings copy's path. Note that some legacy implementation may ignore this parameter. (see FixedDirectoryWorkingCopyManager
)RepositoryException
@NotNull public VcsWorkingCopy retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision, @NotNull File targetPath) throws RepositoryException
VcsWorkingCopyManager
retrieveSourceCode
in interface FixedDirectoryWorkingCopyManager
retrieveSourceCode
in interface VcsWorkingCopyManager
retrieveSourceCode
in class LegacyWorkingCopyManager
commonContext
- - a current build or deployment contextrepositoryData
- - configuration of a repository to checkout/updatetargetRevision
- - revision to check out or update totargetPath
- - workings copy's path. Note that some legacy implementation may ignore this parameter. (see FixedDirectoryWorkingCopyManager
)RepositoryException
@NotNull public VcsWorkingCopy retrieveSourceCode(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull PlanVcsRevisionData targetRevision) throws RepositoryException
FixedDirectoryWorkingCopyManager
retrieveSourceCode
in interface FixedDirectoryWorkingCopyManager
commonContext
- - a current build or deployment contextrepositoryData
- - configuration of a repository to checkout/updatetargetRevision
- - revision to check out or update toRepositoryException
@NotNull public File getWorkingCopyPath(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData) throws RepositoryException
FixedDirectoryWorkingCopyManager
getWorkingCopyPath
in interface FixedDirectoryWorkingCopyManager
RepositoryException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.