Package org.kohsuke.github
Class GHIssueQueryBuilder
- java.lang.Object
-
- org.kohsuke.github.GHQueryBuilder<GHIssue>
-
- org.kohsuke.github.GHIssueQueryBuilder
-
- Direct Known Subclasses:
GHIssueQueryBuilder.ForRepository
public abstract class GHIssueQueryBuilder extends GHQueryBuilder<GHIssue>
The Class GHIssueQueryBuilder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGHIssueQueryBuilder.ForRepositoryThe Class ForRepository.static classGHIssueQueryBuilder.SortThe enum Sort.
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHQueryBuilder
req
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GHIssueQueryBuilderdirection(GHDirection direction)Direction gh issue query builder.abstract StringgetApiUrl()Gets the api url.GitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.GHIssueQueryBuilderlabel(String label)Labels gh issue query builder.GHIssueQueryBuilderpageSize(int pageSize)Page size gh issue query builder.GHIssueQueryBuildersince(long timestamp)Only issues after this date will be returned.GHIssueQueryBuildersince(Date date)Only issues after this date will be returned.GHIssueQueryBuildersort(GHIssueQueryBuilder.Sort sort)Sort gh issue query builder.GHIssueQueryBuilderstate(GHIssueState state)State gh issue query builder.-
Methods inherited from class org.kohsuke.github.GHQueryBuilder
list
-
-
-
-
Method Detail
-
state
public GHIssueQueryBuilder state(GHIssueState state)
State gh issue query builder.- Parameters:
state- the state- Returns:
- the gh issue query builder
-
label
public GHIssueQueryBuilder label(String label)
Labels gh issue query builder.- Parameters:
label- the labels- Returns:
- the gh issue query builder
-
sort
public GHIssueQueryBuilder sort(GHIssueQueryBuilder.Sort sort)
Sort gh issue query builder.- Parameters:
sort- the sort- Returns:
- the gh issue query builder
-
direction
public GHIssueQueryBuilder direction(GHDirection direction)
Direction gh issue query builder.- Parameters:
direction- the direction- Returns:
- the gh issue query builder
-
since
public GHIssueQueryBuilder since(Date date)
Only issues after this date will be returned.- Parameters:
date- the date- Returns:
- the gh issue query builder
-
since
public GHIssueQueryBuilder since(long timestamp)
Only issues after this date will be returned.- Parameters:
timestamp- the timestamp- Returns:
- the gh issue query builder
-
pageSize
public GHIssueQueryBuilder pageSize(int pageSize)
Page size gh issue query builder.- Parameters:
pageSize- the page size- Returns:
- the gh issue query builder
-
getApiUrl
public abstract String getApiUrl()
Gets the api url.- Returns:
- the api url
-
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
-
-