Package jetbrains.buildServer.vcs
Interface CollectChangesBetweenRepositories
-
- All Superinterfaces:
CollectChangesPolicy
,CollectRepositoryChangesByCheckoutRules
,CollectRepositoryChangesPolicy
,VcsExtension
public interface CollectChangesBetweenRepositories extends CollectRepositoryChangesPolicy, CollectRepositoryChangesByCheckoutRules
Policy for collecting changes between repositories- Since:
- 7.0
- Author:
- dmitry.neverov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ModificationData>
collectChanges(VcsRoot fromRepository, RepositoryStateData fromState, VcsRoot toRepository, RepositoryStateData toState, CheckoutRules checkoutRules)
Collect changes between repositories.-
Methods inherited from interface jetbrains.buildServer.vcs.CollectRepositoryChangesByCheckoutRules
collectChanges
-
Methods inherited from interface jetbrains.buildServer.vcs.CollectRepositoryChangesPolicy
getCurrentState
-
-
-
-
Method Detail
-
collectChanges
@NotNull java.util.List<ModificationData> collectChanges(@NotNull VcsRoot fromRepository, @NotNull RepositoryStateData fromState, @NotNull VcsRoot toRepository, @NotNull RepositoryStateData toState, @NotNull CheckoutRules checkoutRules) throws VcsException
Collect changes between repositories. FromRepository and fromState should be used to determine a starting point in the toRepository, from which changes should be collected. If fromRepository and toRepository 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 toRepository.- Parameters:
fromRepository
- repository from which to collect changesfromState
- start point for collecting changes in fromRepositorytoRepository
- root to which changes should be collectedtoState
- end point for collecting changes in toRepositorycheckoutRules
- rules- Returns:
- collected changes
- Throws:
VcsException
- in the case of any errors
-
-