mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-21 15:50:49 +00:00
22 lines
511 B
Java
22 lines
511 B
Java
package org.kohsuke.github;
|
|
|
|
/**
|
|
* Used to specify filters, sort order, etc for listing items in a collection.
|
|
*
|
|
* @author Kohsuke Kawaguchi
|
|
*/
|
|
public abstract class GHQueryBuilder<T> {
|
|
protected final GitHub root;
|
|
protected final Requester req;
|
|
|
|
/*package*/ GHQueryBuilder(GitHub root) {
|
|
this.root = root;
|
|
this.req = root.retrieve();
|
|
}
|
|
|
|
/**
|
|
* Start listing items by using the settings built up on this object.
|
|
*/
|
|
public abstract PagedIterable<T> list();
|
|
}
|