Interface CommitsInfoBuilder

  • All Superinterfaces:
    VcsExtension

    public interface CommitsInfoBuilder
    extends VcsExtension
    Created 27.09.13 19:50
    Since:
    8.1
    Author:
    Eugene Petrenko (eugene.petrenko@jetbrains.com)
    • Method Detail

      • collectCommits

        void collectCommits​(@NotNull
                            VcsRoot root,
                            @NotNull
                            CheckoutRules rules,
                            @NotNull
                            CommitsInfoBuilder.CommitsConsumer consumer)
                     throws VcsException
        This method is called to fetch entire commits list (graph) from the VCS plugin. Returned data made as thin as possible Implementation is expected to filter commits with unrelated changes with respect to graph connections and parents. Returned list of CommitInfo is expected to form connected graph. You may either filter commits and form connected graph or return commits with CommitDataBean.isIncludedByCheckoutRules() set to false to make them filtered externally with respect to graph connectivity
        Parameters:
        root - vcs-root to collect data for
        rules - checkout rules to collect data for (in some cases checkout rules may matter)
        consumer - to be used to send collected infos back
        Throws:
        VcsException - on error
        Since:
        8.1
        See Also:
        CommitDataBean, CommitMountPointDataBean