collectChanges
void collectChanges(@Nullable
VcsSettings fromSettings,
@NotNull
VcsRepositoryState fromState,
@NotNull
VcsRepositoryState toState,
@NotNull
CollectChangesService.ChangesConsumer consumer)
throws VcsException
- Parameters:
fromSettings
- Can contain repository in a slightly different state than current repository, for which this service is obtained.
Basically, this is a repository for which previous repository state is obtained.
fromState
- Previous repository state (collect changes from)
toState
- New repository state (collect changes to)
consumer
- Consumer object used to supply collected objects back to TeamCity
- Throws:
VcsException
- if there is a problem collecting changes