- All Superinterfaces:
Scope
- All Known Subinterfaces:
Commit
, Version
@Experimental
public interface Node<N extends Node<N>>
extends Scope
An abstraction over directed, acyclic graph models.
Examples of such models are Version
or Commit
/
Commits
.
- Author:
- Lukas Eder
-
Field Summary 
Fields
-
Method Summary 
The ID of the node, unique within the graph.
The message associated with the node.
The parents of this node.
The root node of the graph.
-
Field Details 
-
ROOT 
- See Also:
-
-
Method Details 
-
id 
The ID of the node, unique within the graph.
-
message 
@Nullable
@Nullable String message()
The message associated with the node.
-
author 
@Nullable
@Nullable String author()
The author of this node.
-
root 
The root node of the graph.
-
parents 
@NotNull
@NotNull List<N> parents()
The parents of this node.