public class PullHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
FINISHED |
static Pattern |
FORCE_MERGE |
static Pattern |
MERGE |
static Pattern |
PENDING |
static Pattern |
RUNNING |
| Constructor and Description |
|---|
PullHelper(String configurationFileProperty,
String configurationFileDefault) |
| Modifier and Type | Method and Description |
|---|---|
BuildResult |
checkBuildResult(org.eclipse.egit.github.core.PullRequest pullRequest) |
ProcessorPullState |
checkPullRequestState(org.eclipse.egit.github.core.PullRequest pullRequest)
Checks the state of the given pull request from the pull-processor perspective.
|
BZHelper |
getBZHelper() |
PullEvaluatorFacade |
getEvaluatorFacade() |
GithubHelper |
getGHHelper() |
Properties |
getProperties() |
boolean |
isAdminUser(String username) |
boolean |
isMerged(org.eclipse.egit.github.core.PullRequest pullRequest) |
public static final Pattern PENDING
public static final Pattern RUNNING
public static final Pattern FINISHED
public static final Pattern MERGE
public static final Pattern FORCE_MERGE
public GithubHelper getGHHelper()
public BZHelper getBZHelper()
public Properties getProperties()
public PullEvaluatorFacade getEvaluatorFacade()
public ProcessorPullState checkPullRequestState(org.eclipse.egit.github.core.PullRequest pullRequest)
pullRequest - the pull requestpublic boolean isAdminUser(String username)
public boolean isMerged(org.eclipse.egit.github.core.PullRequest pullRequest)
public BuildResult checkBuildResult(org.eclipse.egit.github.core.PullRequest pullRequest)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.