Package com.atlassian.bamboo.vcs.runtime
Interface NoContextVcsWorkingCopyManager
-
- All Superinterfaces:
VcsWorkingCopyManager
- All Known Implementing Classes:
BitbucketCloudWorkingCopyManager
,BitbucketServerWorkingCopyManager
,GitHubWorkingCopyManager
,GitWorkingCopyManager
,SvnWorkingCopyManager
@PublicApi public interface NoContextVcsWorkingCopyManager extends VcsWorkingCopyManager
Working copy manager capable of checking out withoutCommonContext
being provided. Used during importing projects from Maven.Should be able to be used agent-side.
- Since:
- 5.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull VcsWorkingCopy
updateToLatestRevision(@NotNull VcsRepositoryData repositoryData, @NotNull File targetPath)
Checkout or update a working copy to the latest revision.default @NotNull VcsWorkingCopy
updateToLatestRevisionForSpecs(@NotNull VcsRepositoryData repositoryData, @NotNull File targetPath)
Checkout or update a working copy to the latest revision.-
Methods inherited from interface com.atlassian.bamboo.vcs.runtime.VcsWorkingCopyManager
retrieveSourceCode, updateToLatestRevision
-
-
-
-
Method Detail
-
updateToLatestRevision
@NotNull @NotNull VcsWorkingCopy updateToLatestRevision(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull File targetPath) throws RepositoryException
Checkout or update a working copy to the latest revision.- Parameters:
repositoryData
- - configuration of a repository to checkout/updatetargetPath
- - workings copy's path. Note that some legacy implementation may ignore this parameter. (seeFixedDirectoryWorkingCopyManager
)- Returns:
- object representing created/updated working copy
- Throws:
RepositoryException
-
updateToLatestRevisionForSpecs
@NotNull default @NotNull VcsWorkingCopy updateToLatestRevisionForSpecs(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull File targetPath) throws RepositoryException
Checkout or update a working copy to the latest revision. The method is desired to work with Specs.- Parameters:
repositoryData
- - configuration of a repository to checkout/updatetargetPath
- - workings copy's path. Note that some legacy implementation may ignore this parameter. (seeFixedDirectoryWorkingCopyManager
)- Returns:
- object representing created/updated working copy
- Throws:
RepositoryException
- Since:
- 9.3
-
-