org.jenkinsci.plugins.ghprb
Class GhprbRepository
java.lang.Object
org.jenkinsci.plugins.ghprb.GhprbRepository
public class GhprbRepository
- extends Object
- Author:
- Honza Brázdil
Method Summary |
void |
addComment(int id,
String comment)
|
void |
addComment(int id,
String comment,
hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
|
void |
check()
|
void |
closePullRequest(int id)
|
void |
createCommitStatus(hudson.model.AbstractBuild<?,?> build,
org.kohsuke.github.GHCommitState state,
String message,
int id)
|
void |
createCommitStatus(hudson.model.AbstractBuild<?,?> build,
String sha1,
org.kohsuke.github.GHCommitState state,
String url,
String message,
int id)
|
void |
createCommitStatus(String sha1,
org.kohsuke.github.GHCommitState state,
String url,
String message,
int id)
|
boolean |
createHook()
|
String |
getName()
|
org.kohsuke.github.GHPullRequest |
getPullRequest(int id)
|
void |
init()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GhprbRepository
public GhprbRepository(String user,
String repository,
Ghprb helper,
ConcurrentMap<Integer,GhprbPullRequest> pulls)
init
public void init()
check
public void check()
createCommitStatus
public void createCommitStatus(hudson.model.AbstractBuild<?,?> build,
org.kohsuke.github.GHCommitState state,
String message,
int id)
createCommitStatus
public void createCommitStatus(String sha1,
org.kohsuke.github.GHCommitState state,
String url,
String message,
int id)
createCommitStatus
public void createCommitStatus(hudson.model.AbstractBuild<?,?> build,
String sha1,
org.kohsuke.github.GHCommitState state,
String url,
String message,
int id)
getName
public String getName()
addComment
public void addComment(int id,
String comment)
addComment
public void addComment(int id,
String comment,
hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
closePullRequest
public void closePullRequest(int id)
createHook
public boolean createHook()
getPullRequest
public org.kohsuke.github.GHPullRequest getPullRequest(int id)
throws IOException
- Throws:
IOException
Copyright © 2004-2014. All Rights Reserved.