Package org.kohsuke.github
Class GHIssueQueryBuilder.ForRepository
- java.lang.Object
-
- org.kohsuke.github.GHQueryBuilder<GHIssue>
-
- org.kohsuke.github.GHIssueQueryBuilder
-
- org.kohsuke.github.GHIssueQueryBuilder.ForRepository
-
- Enclosing class:
- GHIssueQueryBuilder
public static class GHIssueQueryBuilder.ForRepository extends GHIssueQueryBuilder
The Class ForRepository.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kohsuke.github.GHIssueQueryBuilder
GHIssueQueryBuilder.ForRepository, GHIssueQueryBuilder.Sort
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHQueryBuilder
req
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GHIssueQueryBuilder.ForRepositoryassignee(String assignee)Assignee gh issue query builder.GHIssueQueryBuilder.ForRepositorycreator(String creator)Creator gh issue query builder.StringgetApiUrl()Gets the api url.GitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.PagedIterable<GHIssue>list()List.GHIssueQueryBuilder.ForRepositorymentioned(String mentioned)Mentioned gh issue query builder.GHIssueQueryBuilder.ForRepositorymilestone(String milestone)Milestone gh issue query builder.
-
-
-
Method Detail
-
milestone
public GHIssueQueryBuilder.ForRepository milestone(String milestone)
Milestone gh issue query builder.The milestone must be either an integer (the milestone number), the string * (issues with any milestone) or the string none (issues without milestone).
- Parameters:
milestone- the milestone- Returns:
- the gh issue request query builder
-
assignee
public GHIssueQueryBuilder.ForRepository assignee(String assignee)
Assignee gh issue query builder.- Parameters:
assignee- the assignee- Returns:
- the gh issue query builder
-
creator
public GHIssueQueryBuilder.ForRepository creator(String creator)
Creator gh issue query builder.- Parameters:
creator- the creator- Returns:
- the gh issue query builder
-
mentioned
public GHIssueQueryBuilder.ForRepository mentioned(String mentioned)
Mentioned gh issue query builder.- Parameters:
mentioned- the mentioned- Returns:
- the gh issue query builder
-
getApiUrl
public String getApiUrl()
Gets the api url.- Specified by:
getApiUrlin classGHIssueQueryBuilder- Returns:
- the api url
-
list
public PagedIterable<GHIssue> list()
List.- Specified by:
listin classGHQueryBuilder<GHIssue>- Returns:
- the paged iterable
-
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
-
-