Class GHIssueCommentQueryBuilder

java.lang.Object
org.kohsuke.github.GHIssueCommentQueryBuilder

public class GHIssueCommentQueryBuilder extends Object
Builds a query for listing comments on an issue.

Call various methods that set the filter criteria, then the list() method to actually retrieve the comments.

 GHIssue issue = ...;
 for (GHIssueComment comment : issue.queryComments().since(x).list()) {
     ...
 }
 
Author:
Yoann Rodiere
See Also:
  • Method Details

    • since

      public GHIssueCommentQueryBuilder since(Date date)
      Only comments created/updated after this date will be returned.
      Parameters:
      date - the date
      Returns:
      the query builder
    • since

      public GHIssueCommentQueryBuilder since(long timestamp)
      Only comments created/updated after this timestamp will be returned.
      Parameters:
      timestamp - the timestamp
      Returns:
      the query builder
    • list

      public PagedIterable<GHIssueComment> list()
      Lists up the comments with the criteria added so far.
      Returns:
      the paged iterable