public class GithubHelper extends Object
| Constructor and Description |
|---|
GithubHelper(String configurationFileProperty,
String configurationFileDefault) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.egit.github.core.Milestone |
createMilestone(String title) |
org.eclipse.egit.github.core.Issue |
editIssue(org.eclipse.egit.github.core.Issue issue) |
List<org.eclipse.egit.github.core.Comment> |
getComments(org.eclipse.egit.github.core.PullRequest pull) |
String |
getGithubLogin() |
org.eclipse.egit.github.core.Issue |
getIssue(int id) |
List<org.eclipse.egit.github.core.Milestone> |
getMilestones() |
org.eclipse.egit.github.core.PullRequest |
getPullRequest(int id) |
org.eclipse.egit.github.core.PullRequest |
getPullRequest(org.eclipse.egit.github.core.IRepositoryIdProvider repository,
int id) |
org.eclipse.egit.github.core.PullRequest |
getPullRequest(String upstreamOrganization,
String upstreamRepository,
int id) |
List<org.eclipse.egit.github.core.Comment> |
getPullRequestComments(int pullNumber) |
List<org.eclipse.egit.github.core.PullRequest> |
getPullRequests(String state) |
boolean |
isMerged(org.eclipse.egit.github.core.PullRequest pull) |
void |
postGithubComment(org.eclipse.egit.github.core.PullRequest pull,
String comment) |
void |
postGithubStatus(org.eclipse.egit.github.core.PullRequest pull,
String targetUrl,
String status) |
public org.eclipse.egit.github.core.PullRequest getPullRequest(int id)
throws IOException
IOExceptionpublic org.eclipse.egit.github.core.PullRequest getPullRequest(String upstreamOrganization, String upstreamRepository, int id) throws IOException
IOExceptionpublic org.eclipse.egit.github.core.PullRequest getPullRequest(org.eclipse.egit.github.core.IRepositoryIdProvider repository,
int id)
throws IOException
IOExceptionpublic List<org.eclipse.egit.github.core.Comment> getPullRequestComments(int pullNumber)
public void postGithubStatus(org.eclipse.egit.github.core.PullRequest pull,
String targetUrl,
String status)
public void postGithubComment(org.eclipse.egit.github.core.PullRequest pull,
String comment)
public List<org.eclipse.egit.github.core.Milestone> getMilestones()
public org.eclipse.egit.github.core.Milestone createMilestone(String title)
public org.eclipse.egit.github.core.Issue getIssue(int id)
public org.eclipse.egit.github.core.Issue editIssue(org.eclipse.egit.github.core.Issue issue)
public List<org.eclipse.egit.github.core.Comment> getComments(org.eclipse.egit.github.core.PullRequest pull) throws IOException
IOExceptionpublic String getGithubLogin()
public boolean isMerged(org.eclipse.egit.github.core.PullRequest pull)
throws IOException
IOExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.