Interface SingleStateChangesReporter

    • Method Detail

      • collectChanges

        void collectChanges​(@Nullable
                            VcsRoot fromRoot,
                            @NotNull
                            java.lang.String fromVersion,
                            @NotNull
                            VcsRoot toRoot,
                            @Nullable
                            java.lang.String toVersion,
                            @NotNull
                            CheckoutRules checkoutRules,
                            @NotNull
                            ChangesConsumer consumer)
                     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
        consumer - callback interface to submit collected changes
        Throws:
        VcsException - in the case of any errors
        Since:
        7.0
        See Also:
        RepositoryStateChangesReporter.collectChanges(VcsRoot, RepositoryStateData, VcsRoot, RepositoryStateData, CheckoutRules, ChangesConsumer)