Package jetbrains.buildServer.vcs
Interface CollectSingleStateChangesByIncludeRules
-
- All Superinterfaces:
CollectChangesPolicy
,CollectSingleStatePolicy
,VcsExtension
@Deprecated public interface CollectSingleStateChangesByIncludeRules extends CollectSingleStatePolicy
Deprecated.must be removed before 8.1This change collecting policy implies using IncludeRule for narrowing scope of monitored files. A more complex (but giving more control over performance) approach is presented byCollectSingleStateChangesByCheckoutRules
This is most in-efficient way of implementing collect changes. It's always better to consider APIs that consumesCheckoutRules
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IncludeRuleChangeCollector
getChangeCollector(VcsRoot root, java.lang.String fromVersion, java.lang.String currentVersion)
Deprecated.Returns an object that would handle calls for each include rule found in the checkout rules.-
Methods inherited from interface jetbrains.buildServer.vcs.CollectSingleStatePolicy
getCurrentVersion
-
-
-
-
Method Detail
-
getChangeCollector
@NotNull IncludeRuleChangeCollector getChangeCollector(@NotNull VcsRoot root, @NotNull java.lang.String fromVersion, @Nullable java.lang.String currentVersion) throws VcsException
Deprecated.Returns an object that would handle calls for each include rule found in the checkout rules. This object could contain common data that should be shared between all calls (e.g. connection, caches, etc.). CheckVcsSupportCore.isCurrentVersionExpensive()
if you like to have null for currentVersion- Parameters:
root
- VCS rootfromVersion
- collect changes from this version.currentVersion
- collect changes to this version. Ifnull
collect changes to the current version of the VCS root.- Returns:
- the object that would handle calls for each include rule
- Throws:
VcsException
- on error- See Also:
IncludeRule
,IncludeRuleChangeCollector
-
-