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 final org.kohsuke.github.Requester
    The req.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    For access to the GitHub instance, use a local copy instead of pulling it out of objects.
    abstract PagedIterable<T>
    Start listing items by using the settings built up on this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • req

      protected final org.kohsuke.github.Requester req
      The req.
  • Method Details

    • 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 the GitHub instance, use a local copy instead of pulling it out of objects.
      Get the root GitHub instance for this object.
      Returns:
      the root GitHub instance