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 booleanequals(Object other)@Nullable NodeStategetNode()Node at given revision@NotNull StringgetRevision()Revision of the nodeinthashCode()StringtoString()StringtoString(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:
-
-