mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-13 00:11:22 +00:00
25 lines
591 B
Java
25 lines
591 B
Java
package org.kohsuke.github;
|
|
|
|
/**
|
|
* Used to specify filters, sort order, etc for listing items in a collection.
|
|
*
|
|
* @param <T>
|
|
* the type parameter
|
|
* @author Kohsuke Kawaguchi
|
|
*/
|
|
public abstract class GHQueryBuilder<T> extends GitHubInteractiveObject {
|
|
protected final Requester req;
|
|
|
|
GHQueryBuilder(GitHub root) {
|
|
this.root = root;
|
|
this.req = root.createRequest();
|
|
}
|
|
|
|
/**
|
|
* Start listing items by using the settings built up on this object.
|
|
*
|
|
* @return the paged iterable
|
|
*/
|
|
public abstract PagedIterable<T> list();
|
|
}
|