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 without CommonContext being provided. Used during importing projects from Maven.

Should be able to be used agent-side.

Since:
5.14
  • Method Details

    • 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/update
      targetPath - - workings copy's path. Note that some legacy implementation may ignore this parameter. (see FixedDirectoryWorkingCopyManager)
      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/update
      targetPath - - workings copy's path. Note that some legacy implementation may ignore this parameter. (see FixedDirectoryWorkingCopyManager)
      Returns:
      object representing created/updated working copy
      Throws:
      RepositoryException
      Since:
      9.3