public class SvnWorkingCopyManager extends AbstractSvnExecutor implements NoContextVcsWorkingCopyManager, StatusProvidingVcsWorkingCopyManager
customVariableContext, svnClientManagerFactory| Constructor and Description |
|---|
SvnWorkingCopyManager() |
| Modifier and Type | Method and Description |
|---|---|
VcsWorkingCopy |
getWorkingCopyInfo(VcsRepositoryData repositoryData,
File checkoutPath)
Provide repository working copy information for the given checkout path.
|
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.
|
VcsWorkingCopy |
updateToLatestRevision(VcsRepositoryData repositoryData,
File targetPath)
Checkout or update a working copy to the latest revision.
|
checkPathExists, copyRepository, doInfo, extractTrustedKey, getBranchDetectionRootUrl, getBranchRootUrl, getCommits, getSubstitutedAccessData, getSubstitutedAccessDataBuilder, getSvnClientManager, getTagRootUrl, getWorkingCopyFormatFromConfiguration, substituteString, svnUrltoVcsBranch@NotNull public VcsWorkingCopy getWorkingCopyInfo(@NotNull VcsRepositoryData repositoryData, @NotNull File checkoutPath) throws RepositoryException
StatusProvidingVcsWorkingCopyManagergetWorkingCopyInfo in interface StatusProvidingVcsWorkingCopyManagerrepositoryData - configuration of the repositorycheckoutPath - path, where repository was checked outRepositoryException - if any error occurs, or e.g. the path is not a valid checkout path for the
repository@NotNull public VcsWorkingCopy updateToLatestRevision(@NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) throws RepositoryException
NoContextVcsWorkingCopyManagerupdateToLatestRevision in interface NoContextVcsWorkingCopyManagerrepositoryData - - 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
VcsWorkingCopyManagerretrieveSourceCode in interface VcsWorkingCopyManagercommonContext - - 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 updateToLatestRevision(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData repositoryData, @NotNull File targetPath) throws RepositoryException
VcsWorkingCopyManagerupdateToLatestRevision in interface VcsWorkingCopyManagercommonContext - - 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)RepositoryExceptionCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.