jetbrains.buildServer.vcs
Interface CollectChangesByIncludeRules
- All Superinterfaces:
- CollectChangesPolicy
public interface CollectChangesByIncludeRules
- extends CollectChangesPolicy
This change collecting policy implies using IncludeRule for narrowing scope of monitored files.
A more complex (but giving more control over performance) approach is presented by CollectChangesByCheckoutRules
- Since:
- 4.5
- See Also:
CollectChangesByCheckoutRules,
CheckoutRules,
IncludeRule,
IncludeRuleChangeCollector
getChangeCollector
@NotNull
IncludeRuleChangeCollector getChangeCollector(@NotNull
VcsRoot root,
@NotNull
java.lang.String fromVersion,
@Nullable
java.lang.String currentVersion)
throws VcsException
- 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.).
- Parameters:
root - VCS rootfromVersion - collect changes from this version.currentVersion - collect changes to this version. If null 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