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 Details

    • 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 given depth.
      Parameters:
      depth -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      toString(0)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object