Package jetbrains.buildServer.vcs
Interface CollectSingleStateChangesBetweenRoots
-
- All Superinterfaces:
CollectChangesPolicy
,CollectSingleStatePolicy
,VcsExtension
public interface CollectSingleStateChangesBetweenRoots extends CollectSingleStatePolicy
- Since:
- 8.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ModificationData>
collectChanges(VcsRoot fromRoot, java.lang.String fromVersion, VcsRoot toRoot, java.lang.String toVersion, CheckoutRules checkoutRules)
Collect changes between roots.-
Methods inherited from interface jetbrains.buildServer.vcs.CollectSingleStatePolicy
getCurrentVersion
-
-
-
-
Method Detail
-
collectChanges
@NotNull java.util.List<ModificationData> collectChanges(@Nullable VcsRoot fromRoot, @NotNull java.lang.String fromVersion, @NotNull VcsRoot toRoot, @Nullable java.lang.String toVersion, @NotNull CheckoutRules checkoutRules) throws VcsException
Collect changes between roots. FromRoot and fromVersion should be used to determine a starting point in the toRoot, from which changes should be collected. If fromRoot and toRoot are not related to each other, i.e. there is no meaningful way to collect changes between them - implementation should return an empty collection. Returned modifications should belong to the toRoot.- Parameters:
fromRoot
- root from which to collect changesfromVersion
- fromRoot versiontoRoot
- root to which changes should be collectedtoVersion
- toRoot versioncheckoutRules
- rules- Returns:
- collected changes
- Throws:
VcsException
- in the case of any errors- Since:
- 8.1
-
-