Package com.atlassian.bamboo.vcs.runtime
Interface StatusProvidingVcsWorkingCopyManager
- All Superinterfaces:
VcsWorkingCopyManager
- All Known Implementing Classes:
BitbucketCloudWorkingCopyManager,BitbucketServerWorkingCopyManager,GitHubWorkingCopyManager,GitWorkingCopyManager,SvnWorkingCopyManager
Working copy manager that is capable of providing current working copy status.
-
Method Summary
Modifier and TypeMethodDescription@NotNull VcsWorkingCopygetWorkingCopyInfo(@NotNull VcsRepositoryData repositoryData, @NotNull File checkoutPath) Provide repository working copy information for the given checkout path.Methods inherited from interface com.atlassian.bamboo.vcs.runtime.VcsWorkingCopyManager
retrieveSourceCode, updateToLatestRevision
-
Method Details
-
getWorkingCopyInfo
@NotNull @NotNull VcsWorkingCopy getWorkingCopyInfo(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull File checkoutPath) throws RepositoryException Provide repository working copy information for the given checkout path.- Parameters:
repositoryData- configuration of the repositorycheckoutPath- path, where repository was checked out- Returns:
- working copy information
- Throws:
RepositoryException- if any error occurs, or e.g. the path is not a valid checkout path for the repository
-