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 class
GHIssueQueryBuilder.ForRepository
The Class ForRepository.static class
GHIssueQueryBuilder.Sort
The 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 GHIssueQueryBuilder
direction(GHDirection direction)
Direction gh issue query builder.abstract String
getApiUrl()
Gets the api url.GitHub
getRoot()
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.GHIssueQueryBuilder
label(String label)
Labels gh issue query builder.GHIssueQueryBuilder
pageSize(int pageSize)
Page size gh issue query builder.GHIssueQueryBuilder
since(long timestamp)
Only issues after this date will be returned.GHIssueQueryBuilder
since(Date date)
Only issues after this date will be returned.GHIssueQueryBuilder
sort(GHIssueQueryBuilder.Sort sort)
Sort gh issue query builder.GHIssueQueryBuilder
state(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 theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
-