public class GhprbRepository extends Object implements hudson.model.Saveable
Modifier and Type | Field and Description |
---|---|
static Object |
createHookLock |
Constructor and Description |
---|
GhprbRepository(String reponame,
GhprbTrigger trigger) |
Modifier and Type | Method and Description |
---|---|
void |
addComment(int id,
String comment) |
void |
addComment(int id,
String comment,
hudson.model.Run<?,?> build,
hudson.model.TaskListener listener) |
void |
addPullRequests(Map<Integer,GhprbPullRequest> prs) |
void |
check() |
void |
closePullRequest(int id) |
void |
commentOnFailure(hudson.model.Run<?,?> build,
hudson.model.TaskListener listener,
GhprbCommitStatusException ex) |
boolean |
createHook() |
org.kohsuke.github.GHPullRequest |
getActualPullRequest(int id) |
protected hudson.XmlFile |
getConfigXml(hudson.model.Job<?,?> project) |
org.kohsuke.github.GHRepository |
getGitHubRepo() |
String |
getName() |
GhprbPullRequest |
getPullRequest(int id) |
void |
init() |
void |
load() |
void |
save() |
public static Object createHookLock
public GhprbRepository(String reponame, GhprbTrigger trigger)
public void addPullRequests(Map<Integer,GhprbPullRequest> prs)
public void init()
public void check()
public void commentOnFailure(hudson.model.Run<?,?> build, hudson.model.TaskListener listener, GhprbCommitStatusException ex)
public String getName()
public void addComment(int id, String comment)
public void addComment(int id, String comment, hudson.model.Run<?,?> build, hudson.model.TaskListener listener)
public void closePullRequest(int id)
public boolean createHook()
public GhprbPullRequest getPullRequest(int id)
public org.kohsuke.github.GHPullRequest getActualPullRequest(int id) throws IOException
IOException
public org.kohsuke.github.GHRepository getGitHubRepo()
public void load() throws IOException
IOException
public void save() throws IOException
save
in interface hudson.model.Saveable
IOException
protected hudson.XmlFile getConfigXml(hudson.model.Job<?,?> project) throws IOException
IOException
Copyright © 2016–2017. All rights reserved.