A (sub) set of commits.
This type is used to group together a set of commits that form a subgraph of
the complete commit graph. Like the complete graph, this subgraph will have a
single root() node.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a commit to the graph.voidaddAll(Collection<? extends Commit> commits) Add all commits to the graph.voidAdd all commits to the graph.@NotNull MigrationsTypeexport()Export XML content from this commits graph.@Nullable CommitGet a commit from the graph by ID, ornull, if the ID was not found.@NotNull Commitsload(MigrationsType migrations) Load XML content into this commits graph.@NotNull Commitroot()The root node.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
root
The root node. -
get
Get a commit from the graph by ID, ornull, if the ID was not found. -
add
Add a commit to the graph. -
addAll
Add all commits to the graph. -
addAll
Add all commits to the graph. -
load
Load XML content into this commits graph. -
export
Export XML content from this commits graph.
-