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,
int id) |
void |
createCommitStatus(String sha1,
org.kohsuke.github.GHCommitState state,
String url,
String message,
int id) |
String |
getDefaultComment() |
String |
getName() |
String |
getRepoUrl() |
void |
check(Map<Integer,GhprbPullRequest> pulls) |
boolean |
isAdmin(String username) |
boolean |
isMe(String username) |
boolean |
isOktotestPhrase(String comment) |
boolean |
isRetestPhrase(String comment) |
boolean |
isUserMemberOfOrganization(String organisation,
String member) |
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, int id)
public void createCommitStatus(String sha1, org.kohsuke.github.GHCommitState state, String url, String message, int id)
public boolean cancelBuild(int id)
public String getName()
public boolean isWhitelisted(String username)
public boolean isAdmin(String username)
public boolean isRetestPhrase(String comment)
public boolean isWhitelistPhrase(String comment)
public boolean isOktotestPhrase(String comment)
public String getDefaultComment()
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)
public boolean isUserMemberOfOrganization(String organisation, String member)
public String getRepoUrl()
Copyright © 2004-2013. All Rights Reserved.