public class SvnWorkingCopyManager extends AbstractSvnExecutor implements NoContextVcsWorkingCopyManager, StatusProvidingVcsWorkingCopyManager
customVariableContext, svnClientManagerFactory
Constructor and Description |
---|
SvnWorkingCopyManager() |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsWorkingCopy |
getWorkingCopyInfo(@NotNull VcsRepositoryData repositoryData,
@NotNull File checkoutPath)
Provide repository working copy information for the given checkout path.
|
@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.
|
@NotNull VcsWorkingCopy |
updateToLatestRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull 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 @NotNull VcsWorkingCopy getWorkingCopyInfo(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull File checkoutPath) throws RepositoryException
StatusProvidingVcsWorkingCopyManager
getWorkingCopyInfo
in interface StatusProvidingVcsWorkingCopyManager
repositoryData
- 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 @NotNull VcsWorkingCopy updateToLatestRevision(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull File targetPath) throws RepositoryException
NoContextVcsWorkingCopyManager
updateToLatestRevision
in interface NoContextVcsWorkingCopyManager
repositoryData
- - 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 VcsWorkingCopyManager
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 updateToLatestRevision(@NotNull @NotNull CommonContext commonContext, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull File targetPath) throws RepositoryException
VcsWorkingCopyManager
updateToLatestRevision
in interface VcsWorkingCopyManager
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
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.