Interface VcsWorkingCopyManager

    • Method Detail

      • retrieveSourceCode

        @NotNull
        @NotNull VcsWorkingCopy retrieveSourceCode​(@NotNull
                                                   @NotNull CommonContext commonContext,
                                                   @NotNull
                                                   @NotNull VcsRepositoryData repositoryData,
                                                   @NotNull
                                                   @NotNull PlanVcsRevisionData targetRevision,
                                                   @NotNull
                                                   @NotNull File targetPath)
                                            throws RepositoryException
        Checkout or update a working copy to a revision.
        Parameters:
        commonContext - - a current build or deployment context
        repositoryData - - configuration of a repository to checkout/update
        targetRevision - - revision to check out or update to
        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
      • updateToLatestRevision

        @NotNull
        @NotNull VcsWorkingCopy updateToLatestRevision​(@NotNull
                                                       @NotNull CommonContext commonContext,
                                                       @NotNull
                                                       @NotNull VcsRepositoryData repositoryData,
                                                       @NotNull
                                                       @NotNull File targetPath)
                                                throws RepositoryException
        Checkout or update a working copy to the latest revision.
        Parameters:
        commonContext - - a current build or deployment context
        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