Class ExtendedIssueService
- java.lang.Object
-
- org.eclipse.egit.github.core.service.GitHubService
-
- org.eclipse.egit.github.core.service.IssueService
-
- org.jenkinsci.plugins.pipeline.github.client.ExtendedIssueService
-
public class ExtendedIssueService extends org.eclipse.egit.github.core.service.IssueService
- Author:
- Aaron Whiteside
-
-
Field Summary
-
Fields inherited from class org.eclipse.egit.github.core.service.IssueService
DIRECTION_ASCENDING, DIRECTION_DESCENDING, FIELD_BODY, FIELD_DIRECTION, FIELD_FILTER, FIELD_SINCE, FIELD_SORT, FIELD_TITLE, FILTER_ASSIGNED, FILTER_ASSIGNEE, FILTER_CREATED, FILTER_LABELS, FILTER_MENTIONED, FILTER_MILESTONE, FILTER_STATE, FILTER_SUBSCRIBED, SORT_COMMENTS, SORT_CREATED, SORT_UPDATED, STATE_CLOSED, STATE_OPEN
-
-
Constructor Summary
Constructors Constructor Description ExtendedIssueService(ExtendedGitHubClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAssignees(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> assignees)
List<org.eclipse.egit.github.core.Label>
addLabels(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> labels)
ExtendedGitHubClient
getClient()
org.eclipse.egit.github.core.client.PageIterator<org.eclipse.egit.github.core.Label>
getLabels(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber)
void
lockIssue(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber)
void
removeAssignees(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> assignees)
List<org.eclipse.egit.github.core.Label>
removeLabel(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, String label)
void
setAssignees(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> assignees)
List<org.eclipse.egit.github.core.Label>
setLabels(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> labels)
org.eclipse.egit.github.core.Issue
setMilestone(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, Integer milestoneNumber)
void
unlockIssue(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber)
-
Methods inherited from class org.eclipse.egit.github.core.service.IssueService
createComment, createComment, createComment, createComment, createIssue, createIssue, createIssueMap, createIssuesRequest, deleteComment, deleteComment, deleteComment, deleteComment, editComment, editComment, editIssue, editIssue, getComment, getComments, getComments, getComments, getComments, getIssue, getIssue, getIssue, getIssue, getIssueEvent, getIssues, getIssues, getIssues, getIssues, pageEvents, pageEvents, pageEvents, pageIssueEvents, pageIssueEvents, pageIssueEvents, pageIssues, pageIssues, pageIssues, pageIssues, pageIssues, pageIssues, pageIssues, pageIssues, pageIssues, pageIssues, pageIssues, pageIssues, searchIssues
-
-
-
-
Constructor Detail
-
ExtendedIssueService
public ExtendedIssueService(ExtendedGitHubClient client)
-
-
Method Detail
-
getClient
public ExtendedGitHubClient getClient()
- Overrides:
getClient
in classorg.eclipse.egit.github.core.service.GitHubService
-
lockIssue
public void lockIssue(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber) throws IOException
- Throws:
IOException
-
unlockIssue
public void unlockIssue(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber) throws IOException
- Throws:
IOException
-
addAssignees
public void addAssignees(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> assignees) throws IOException
- Throws:
IOException
-
removeAssignees
public void removeAssignees(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> assignees) throws IOException
- Throws:
IOException
-
setMilestone
public org.eclipse.egit.github.core.Issue setMilestone(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, Integer milestoneNumber)
-
setAssignees
public void setAssignees(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> assignees) throws IOException
- Throws:
IOException
-
getLabels
public org.eclipse.egit.github.core.client.PageIterator<org.eclipse.egit.github.core.Label> getLabels(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber)
-
setLabels
public List<org.eclipse.egit.github.core.Label> setLabels(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> labels) throws IOException
- Throws:
IOException
-
addLabels
public List<org.eclipse.egit.github.core.Label> addLabels(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, List<String> labels) throws IOException
- Throws:
IOException
-
removeLabel
public List<org.eclipse.egit.github.core.Label> removeLabel(org.eclipse.egit.github.core.IRepositoryIdProvider repository, int issueNumber, String label) throws IOException
- Throws:
IOException
-
-