Class RevisionHistory.HistoryElement
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.file.tooling.RevisionHistory.HistoryElement
-
- Enclosing class:
- RevisionHistory
public static final class RevisionHistory.HistoryElement extends Object
Representation of a point in time for a given node.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
@Nullable NodeState
getNode()
Node at given revision@NotNull String
getRevision()
Revision of the nodeint
hashCode()
String
toString()
String
toString(int depth)
Serialise this element to JSON up to the givendepth
.
-
-
-
Method Detail
-
getRevision
@NotNull public @NotNull String getRevision()
Revision of the node- Returns:
-
getNode
@Nullable public @Nullable NodeState getNode()
Node at given revision- Returns:
-
toString
public String toString(int depth)
Serialise this element to JSON up to the givendepth
.- Parameters:
depth
-- Returns:
-
-