jetbrains.buildServer.vcs
Interface CollectChangesBetweenRoots

All Superinterfaces:
CollectChangesByCheckoutRules, CollectChangesPolicy, VcsExtension

public interface CollectChangesBetweenRoots
extends CollectChangesByCheckoutRules

Author:
dmitry.neverov

Method Summary
 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.CollectChangesByCheckoutRules
collectChanges
 

Method Detail

collectChanges

@NotNull
java.util.List<ModificationData> collectChanges(@NotNull
                                                        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 changes
fromVersion - fromRoot version
toRoot - root to which changes should be collected
toVersion - toRoot version
checkoutRules - rules
Returns:
collected changes
Throws:
VcsException - in the case of any errors
Since:
7.0