Package jetbrains.buildServer.vcs
Interface VcsContentManagerEx
-
- All Superinterfaces:
VcsContentManager
- All Known Subinterfaces:
VcsManagerEx
- All Known Implementing Classes:
SecuredVcsManager
,VcsContentManagerImpl
,VcsManagerImpl
public interface VcsContentManagerEx extends VcsContentManager
Created 20.08.13 12:14- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getContentAfter(VcsModification parentModification, VcsChangeInfo change)
byte[]
getContentBefore(VcsModification parentModification, VcsChangeInfo change)
byte[]
getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath, boolean latest)
Same asVcsContentManager.getFileContent(List, String)
if argument latest is false.-
Methods inherited from interface jetbrains.buildServer.vcs.VcsContentManager
getFileContent, getFileContent, getFileContent
-
-
-
-
Method Detail
-
getFileContent
@Nullable byte[] getFileContent(@NotNull List<VcsRootInstanceEntry> vcsRootEntries, @Nullable String relativePath, boolean latest) throws VcsException
Same asVcsContentManager.getFileContent(List, String)
if argument latest is false. If latest is true then TeamCity will take the file content for the latest possible revision, in other words it will first go the the repository for the current state and then take the content for the revision from this state.- Parameters:
latest
- if false then returned content will correspond to the revision which was seen by the server during the last polling process, if true, then the most recent content is returned- Throws:
VcsException
- Since:
- 2020.2.1
-
getContentBefore
@NotNull byte[] getContentBefore(VcsModification parentModification, VcsChangeInfo change) throws VcsException
- Throws:
VcsException
-
getContentAfter
@NotNull byte[] getContentAfter(VcsModification parentModification, VcsChangeInfo change) throws VcsException
- Throws:
VcsException
-
-