public class GithubHelper extends Object
| Constructor and Description |
|---|
GithubHelper(String configurationFileProperty,
String configurationFileDefault) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLabel(org.eclipse.egit.github.core.PullRequest pullRequest,
org.eclipse.egit.github.core.Label label) |
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.RepositoryBranch> |
getBranches() |
List<org.eclipse.egit.github.core.Comment> |
getComments(org.eclipse.egit.github.core.PullRequest pullRequest) |
String |
getGithubLogin() |
org.eclipse.egit.github.core.Issue |
getIssue(org.eclipse.egit.github.core.PullRequest pullRequest) |
org.eclipse.egit.github.core.Label |
getLabel(String title) |
List<org.eclipse.egit.github.core.Label> |
getLabels(org.eclipse.egit.github.core.PullRequest pullRequest) |
org.eclipse.egit.github.core.Comment |
getLastMatchingComment(org.eclipse.egit.github.core.PullRequest pullRequest,
Pattern pattern) |
List<org.eclipse.egit.github.core.Milestone> |
getMilestones() |
org.eclipse.egit.github.core.PullRequest |
getPullRequest(int id) |
org.eclipse.egit.github.core.PullRequest |
getPullRequest(String upstreamOrganization,
String upstreamRepository,
int id) |
List<org.eclipse.egit.github.core.PullRequest> |
getPullRequests(String state) |
boolean |
isMerged(org.eclipse.egit.github.core.PullRequest pullRequest) |
void |
postGithubComment(org.eclipse.egit.github.core.PullRequest pull,
String comment) |
void |
postGithubStatus(org.eclipse.egit.github.core.PullRequest pull,
String targetUrl,
String status) |
void |
removeLabel(org.eclipse.egit.github.core.PullRequest pullRequest,
org.eclipse.egit.github.core.Label newLabel) |
public List<org.eclipse.egit.github.core.RepositoryBranch> getBranches()
public org.eclipse.egit.github.core.PullRequest getPullRequest(int id)
public org.eclipse.egit.github.core.PullRequest getPullRequest(String upstreamOrganization, String upstreamRepository, int id)
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(org.eclipse.egit.github.core.PullRequest pullRequest)
public org.eclipse.egit.github.core.Issue editIssue(org.eclipse.egit.github.core.Issue issue)
public String getGithubLogin()
public boolean isMerged(org.eclipse.egit.github.core.PullRequest pullRequest)
public org.eclipse.egit.github.core.Comment getLastMatchingComment(org.eclipse.egit.github.core.PullRequest pullRequest,
Pattern pattern)
public List<org.eclipse.egit.github.core.Comment> getComments(org.eclipse.egit.github.core.PullRequest pullRequest)
public List<org.eclipse.egit.github.core.Label> getLabels(org.eclipse.egit.github.core.PullRequest pullRequest)
public org.eclipse.egit.github.core.Label getLabel(String title)
public void addLabel(org.eclipse.egit.github.core.PullRequest pullRequest,
org.eclipse.egit.github.core.Label label)
public void removeLabel(org.eclipse.egit.github.core.PullRequest pullRequest,
org.eclipse.egit.github.core.Label newLabel)
Copyright © 2015 JBoss by Red Hat. All rights reserved.