Class CommentThread<T extends Comment>

java.lang.Object
com.google.gerrit.server.change.CommentThread<T>
Type Parameters:
T - type of comments in the thread. Can also be Comment if the thread mixes comments of different types.

public abstract class CommentThread<T extends Comment> extends Object
Representation of a comment thread.

A comment thread consists of at least one comment.

  • Constructor Details

    • CommentThread

      public CommentThread()
  • Method Details

    • comments

      public abstract com.google.common.collect.ImmutableList<T> comments()
      Comments in the thread in exactly the order they appear in the thread.
    • unresolved

      public boolean unresolved()
      Whether the whole thread is considered as unresolved.
    • builder

      public static <T extends Comment> CommentThread.Builder<T> builder()