Package org.kohsuke.github
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:
GHIssue#queryComments(), List issue comments
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagedIterable<GHIssueComment>list()Lists up the comments with the criteria added so far.GHIssueCommentQueryBuildersince(long timestamp)Only comments created/updated after this timestamp will be returned.GHIssueCommentQueryBuildersince(Date date)Only comments created/updated after this date will be returned.
-
-
-
Method Detail
-
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
-
-