public class GhprbRepo extends Object
| Constructor and Description |
|---|
GhprbRepo(GhprbTrigger trigger,
String githubServer,
String user,
String repository) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(int id,
String comment) |
void |
addWhitelist(String author) |
boolean |
cancelBuild(int id) |
void |
createCommitStatus(hudson.model.AbstractBuild<?,?> build,
org.kohsuke.github.GHCommitState state,
String message) |
void |
createCommitStatus(String sha1,
org.kohsuke.github.GHCommitState state,
String url,
String message) |
void |
check(Map<Integer,GhprbPullRequest> pulls) |
boolean |
isAdmin(String username) |
boolean |
isMe(String username) |
boolean |
isRetestPhrase(String comment) |
boolean |
isWhitelisted(String username) |
boolean |
isWhitelistPhrase(String comment) |
void |
startJob(int id,
String commit,
boolean merged) |
public GhprbRepo(GhprbTrigger trigger, String githubServer, String user, String repository)
public void check(Map<Integer,GhprbPullRequest> pulls)
public void createCommitStatus(hudson.model.AbstractBuild<?,?> build,
org.kohsuke.github.GHCommitState state,
String message)
public void createCommitStatus(String sha1, org.kohsuke.github.GHCommitState state, String url, String message)
public boolean cancelBuild(int id)
public boolean isWhitelisted(String username)
public boolean isAdmin(String username)
public boolean isRetestPhrase(String comment)
public boolean isWhitelistPhrase(String comment)
public void addComment(int id,
String comment)
public void addWhitelist(String author)
public boolean isMe(String username)
public void startJob(int id,
String commit,
boolean merged)
Copyright © 2004-2012. All Rights Reserved.