public interface CommitsInfoBuilder extends VcsExtension
Modifier and Type | Interface and Description |
---|---|
static interface |
CommitsInfoBuilder.CommitsConsumer |
Modifier and Type | Method and Description |
---|---|
void |
collectCommits(VcsRoot root,
CheckoutRules rules,
CommitsInfoBuilder.CommitsConsumer consumer)
This method is called to fetch entire commits list (graph) from the VCS plugin.
|
void collectCommits(@NotNull VcsRoot root, @NotNull CheckoutRules rules, @NotNull CommitsInfoBuilder.CommitsConsumer consumer) throws VcsException
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 connectivityroot
- vcs-root to collect data forrules
- checkout rules to collect data for (in some cases checkout rules may matter)consumer
- to be used to send collected infos backVcsException
- on errorCommitDataBean
,
CommitMountPointDataBean