public class LegacyFixedDirectoryWorkingCopyManager extends LegacyWorkingCopyManager implements FixedDirectoryWorkingCopyManager
repositoryModuleDescriptor
Constructor and Description |
---|
LegacyFixedDirectoryWorkingCopyManager(RepositoryModuleDescriptor repositoryModuleDescriptor,
BuildLoggerManager buildLoggerManager) |
Modifier and Type | Method and Description |
---|---|
@NotNull File |
getWorkingCopyPath(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData)
Based on configuration and current context produce absolute path to the working copy.
|
@NotNull VcsWorkingCopy |
retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision)
Checkout or update a working copy to a revision.
|
@NotNull VcsWorkingCopy |
retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath)
Checkout or update a working copy to a revision.
|
@NotNull VcsWorkingCopy |
updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull 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 @NotNull VcsWorkingCopy updateToLatestRevision(@NotNull @NotNull CommonContext commonContext, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @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 @NotNull VcsWorkingCopy retrieveSourceCode(@NotNull @NotNull CommonContext commonContext, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull PlanVcsRevisionData targetRevision, @NotNull @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 @NotNull VcsWorkingCopy retrieveSourceCode(@NotNull @NotNull CommonContext commonContext, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @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 @NotNull File getWorkingCopyPath(@NotNull @NotNull CommonContext commonContext, @NotNull @NotNull VcsRepositoryData repositoryData) throws RepositoryException
FixedDirectoryWorkingCopyManager
getWorkingCopyPath
in interface FixedDirectoryWorkingCopyManager
RepositoryException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.