public class PullHelper extends Object
| Constructor and Description |
|---|
PullHelper(String configurationFileProperty,
String configurationFileDefault) |
| Modifier and Type | Method and Description |
|---|---|
ProcessorPullState |
checkPullRequestState(RedhatPullRequest pullRequest)
Checks the state of the given pull request from the pull-processor perspective.
|
org.eclipse.egit.github.core.Milestone |
createMilestone(String title) |
List<String> |
getBranches() |
PullEvaluatorFacade |
getEvaluatorFacade() |
List<org.eclipse.egit.github.core.Milestone> |
getGithubMilestones() |
org.eclipse.egit.github.core.Label |
getLabel(String title) |
List<RedhatPullRequest> |
getOpenPullRequests() |
Properties |
getProperties() |
RedhatPullRequest |
getPullRequest(String organization,
String repository,
int id) |
boolean |
isAdminUser(String username) |
public Properties getProperties()
public PullEvaluatorFacade getEvaluatorFacade()
public List<RedhatPullRequest> getOpenPullRequests()
public RedhatPullRequest getPullRequest(String organization, String repository, int id)
public List<org.eclipse.egit.github.core.Milestone> getGithubMilestones()
public org.eclipse.egit.github.core.Milestone createMilestone(String title)
public ProcessorPullState checkPullRequestState(RedhatPullRequest pullRequest)
pullRequest - the pull requestpublic boolean isAdminUser(String username)
public org.eclipse.egit.github.core.Label getLabel(String title)
Copyright © 2015 JBoss by Red Hat. All rights reserved.