public interface UpdatingVcsWorkingCopyManager extends VcsWorkingCopyManager
VcsWorkingCopyManager
that can update source on vcs server.Modifier and Type | Method and Description |
---|---|
@NotNull VcsWorkingCopy |
commitLocal(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage)
Create a local commit.
|
default void |
stageChanges(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData repositoryData,
@NotNull Collection<String> pathsToAdd)
Stage changes for committing.
|
@NotNull VcsWorkingCopy |
updateRemote(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage)
Update remote repository.
|
retrieveSourceCode, updateToLatestRevision
default void stageChanges(@NotNull @NotNull VcsWorkingCopy workingCopy, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull Collection<String> pathsToAdd) throws RepositoryException
Staging logic may differ between repository types.
workingCopy
- workspace to perform the stagingrepositoryData
- configuration of repositorypathsToAdd
- paths, relative to working copy directory, to stage for committing; if empty, all modified
files from working copy directory should be stagedRepositoryException
@NotNull @NotNull VcsWorkingCopy commitLocal(@NotNull @NotNull VcsWorkingCopy workingCopy, @NotNull @NotNull VcsRepositoryData vcsRepositoryData, @NotNull @NotNull String commitMessage) throws RepositoryException
workingCopy
- vcsRepositoryData
- commitMessage
- RepositoryException
@NotNull @NotNull VcsWorkingCopy updateRemote(@NotNull @NotNull VcsWorkingCopy workingCopy, @NotNull @NotNull VcsRepositoryData vcsRepositoryData, @NotNull @NotNull String commitMessage) throws RepositoryException
workingCopy
- vcsRepositoryData
- commitMessage
- - implementors are free to ignore this parameter.RepositoryException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.