@Deprecated public interface FixedDirectoryWorkingCopyManager extends VcsWorkingCopyManager
VcsWorkingCopyManager instead, as this variant severely limits implementation's usefulness.
For example, repository plugins implementing this interface cannot be used in deployment projects.
Use only if you must.| Modifier and Type | Method and Description |
|---|---|
@NotNull File |
getWorkingCopyPath(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData)
Deprecated.
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)
Deprecated.
Checkout or update a working copy to a revision.
|
default @NotNull VcsWorkingCopy |
retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath)
Deprecated.
If you can implement this correctly using targetPath,
then you should not be implementing this interface.
|
default @NotNull VcsWorkingCopy |
updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath)
Deprecated.
If you can implement this, then you should not be implementing this interface.
|
@NotNull default @NotNull VcsWorkingCopy retrieveSourceCode(@NotNull @NotNull CommonContext commonContext, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull PlanVcsRevisionData targetRevision, @NotNull @NotNull File targetPath) throws RepositoryException
retrieveSourceCode 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 default @NotNull VcsWorkingCopy updateToLatestRevision(@NotNull @NotNull CommonContext commonContext, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull File targetPath) throws RepositoryException
updateToLatestRevision 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)UnsupportedOperationExceptionRepositoryException@NotNull @NotNull VcsWorkingCopy retrieveSourceCode(@NotNull @NotNull CommonContext commonContext, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull PlanVcsRevisionData targetRevision) throws RepositoryException
commonContext - - a current build or deployment contextrepositoryData - - configuration of a repository to checkout/updatetargetRevision - - revision to check out or update toRepositoryException@NotNull @NotNull File getWorkingCopyPath(@NotNull @NotNull CommonContext commonContext, @NotNull @NotNull VcsRepositoryData repositoryData) throws RepositoryException
commonContext - repositoryData - RepositoryExceptionCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.