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 TypeMethodDescriptionvoid
Add a commit to the graph.void
addAll(Collection<? extends Commit> commits)
Add all commits to the graph.void
Add all commits to the graph.@NotNull MigrationsType
export()
Export XML content from this commits graph.@Nullable Commit
Get a commit from the graph by ID, ornull
, if the ID was not found.@NotNull Commits
load(MigrationsType migrations)
Load XML content into this commits graph.@NotNull Commit
root()
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.
-