Package org.kohsuke.github
Class GHQueryBuilder<T>
- java.lang.Object
-
- org.kohsuke.github.GHQueryBuilder<T>
-
- Type Parameters:
T- the type parameter
- Direct Known Subclasses:
GHIssueQueryBuilder,GHPullRequestQueryBuilder,GHSearchBuilder,GHWorkflowJobQueryBuilder,GHWorkflowRunQueryBuilder
public abstract class GHQueryBuilder<T> extends Object
Used to specify filters, sort order, etc for listing items in a collection.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected org.kohsuke.github.RequesterreqThe req.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.abstract PagedIterable<T>list()Start listing items by using the settings built up on this object.
-
-
-
Method Detail
-
list
public abstract PagedIterable<T> list()
Start listing items by using the settings built up on this object.- Returns:
- the paged iterable
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-
-