Class RevisionHistory.HistoryElement

  • Enclosing class:
    RevisionHistory

    public static final class RevisionHistory.HistoryElement
    extends Object
    Representation of a point in time for a given node.
    • 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 given depth.
        Parameters:
        depth -
        Returns:
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object