Package jetbrains.buildServer.vcs
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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CommitsInfoBuilder.CommitsConsumer
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
collectCommits(VcsRoot root, CheckoutRules rules, CommitsInfoBuilder.CommitsConsumer consumer)
This method is called to fetch entire commits list (graph) from the VCS plugin.
-
-
-
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 ofCommitInfo
is expected to form connected graph. You may either filter commits and form connected graph or return commits withCommitDataBean.isIncludedByCheckoutRules()
set to false to make them filtered externally with respect to graph connectivity- Parameters:
root
- 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 back- Throws:
VcsException
- on error- Since:
- 8.1
- See Also:
CommitDataBean
,CommitMountPointDataBean
-
-