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.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public @NotNull MigrationsType | |
| public @Nullable Commit | |
| public @NotNull Commits | |
| public @NotNull Commit |
| add | back to summary |
|---|---|
| public void add(Commit commit) Add a commit to the graph. | |
| addAll | back to summary |
|---|---|
| public void addAll(Commit... commits) Add all commits to the graph. | |
| addAll | back to summary |
|---|---|
| public void addAll(Collection<? extends Commit> commits) Add all commits to the graph. | |
| export | back to summary |
|---|---|
| public @NotNull MigrationsType export() Export XML content from this commits graph.
| |
| get | back to summary |
|---|---|
| public @Nullable Commit get(String id) Get a commit from the graph by ID, or
| |
| load | back to summary |
|---|---|
| public @NotNull Commits load(MigrationsType migrations) Load XML content into this commits graph.
| |
| root | back to summary |
|---|---|
| public @NotNull Commit root() The root node.
| |