Package jetbrains.buildServer.vcs
Interface CollectSingleStatePolicy
-
- All Superinterfaces:
CollectChangesPolicy
,VcsExtension
- All Known Subinterfaces:
CollectSingleStateChangesBetweenRoots
,CollectSingleStateChangesByCheckoutRules
,CollectSingleStateChangesByIncludeRules
,SingleStateChangesReporter
- All Known Implementing Classes:
MockBranchSupport
,MockVcsSupport
,VcsSupport
public interface CollectSingleStatePolicy extends CollectChangesPolicy
- Since:
- 8.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCurrentVersion(VcsRoot root)
Returns version mark version control is currently in (like last committed change list number for Perforce, or current date for CVS).
-
-
-
Method Detail
-
getCurrentVersion
@NotNull String getCurrentVersion(@NotNull VcsRoot root) throws VcsException
Returns version mark version control is currently in (like last committed change list number for Perforce, or current date for CVS).- Parameters:
root
- - current configuration- Returns:
- - current version of repository. This version has to have the same meaning as a VcsModification version
- Throws:
VcsException
- throw this exception if some problem occurred while collecting changes or changes cannot be collected because of invalid configuration. Localized message will be shown on the web page for the corresponding project.- Since:
- 4.5
-
-