Package jetbrains.buildServer.vcs
Interface CollectChangesByCheckoutRules
-
- All Superinterfaces:
CollectChangesPolicy
,VcsExtension
- All Known Subinterfaces:
CollectChangesBetweenRoots
@Deprecated public interface CollectChangesByCheckoutRules extends CollectChangesPolicy
Deprecated.This collecting changes policy implies using CheckoutRules for narrowing scope of monitored files within the VCS repository. A simpler approach is presented byCollectSingleStateChangesByIncludeRules
- Since:
- 4.5
- See Also:
CollectSingleStateChangesByIncludeRules
,CheckoutRules
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<ModificationData>
collectChanges(VcsRoot root, java.lang.String fromVersion, java.lang.String currentVersion, CheckoutRules checkoutRules)
Deprecated.Returns list of the changes between two revisions given.
-
-
-
Method Detail
-
collectChanges
java.util.List<ModificationData> collectChanges(@NotNull VcsRoot root, @NotNull java.lang.String fromVersion, @Nullable java.lang.String currentVersion, @NotNull CheckoutRules checkoutRules) throws VcsException
Deprecated.Returns list of the changes between two revisions given. CheckVcsSupportCore.isCurrentVersionExpensive()
if you like to have null for currentVersion- Parameters:
root
- current settings.fromVersion
- collect changes from this version.currentVersion
- collect changes up to this version.checkoutRules
- checkout rules built on union of all checkout rules of all configurations connected to the root. Include rules have 'from' part the same as 'to' one so you can don't map file paths according to include rules. see jetbrains.buildServer.vcs.VcsSupportUtil#collectBuildChanges(jetbrains.buildServer.vcs.VcsRoot, String, String, jetbrains.buildServer.vcs.CheckoutRules, jetbrains.buildServer.CollectChangesByIncludeRules) service method, which allows you to collect changes for each root include rule.- Returns:
- list of changes between specified versions.
- 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
-
-