org.jenkinsci.plugins.ghprb
Class GhprbRepository
java.lang.Object
org.jenkinsci.plugins.ghprb.GhprbRepository
- All Implemented Interfaces:
- hudson.model.Saveable
public class GhprbRepository
- extends Object
- implements hudson.model.Saveable
- Author:
- Honza Brázdil
Fields inherited from interface hudson.model.Saveable |
NOOP |
Method Summary |
void |
addComment(int id,
String comment)
|
void |
addComment(int id,
String comment,
hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
|
void |
addPullRequests(Map<Integer,GhprbPullRequest> prs)
|
void |
check()
|
void |
closePullRequest(int id)
|
void |
commentOnFailure(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener,
GhprbCommitStatusException ex)
|
boolean |
createHook()
|
org.kohsuke.github.GHPullRequest |
getActualPullRequest(int id)
|
protected hudson.XmlFile |
getConfigXml(hudson.model.AbstractProject<?,?> project)
|
org.kohsuke.github.GHRepository |
getGitHubRepo()
|
String |
getName()
|
GhprbPullRequest |
getPullRequest(int id)
|
void |
init()
|
void |
load()
|
void |
save()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GhprbRepository
public GhprbRepository(String reponame,
GhprbTrigger trigger)
addPullRequests
public void addPullRequests(Map<Integer,GhprbPullRequest> prs)
init
public void init()
check
public void check()
commentOnFailure
public void commentOnFailure(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener,
GhprbCommitStatusException ex)
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 GhprbPullRequest getPullRequest(int id)
getActualPullRequest
public org.kohsuke.github.GHPullRequest getActualPullRequest(int id)
throws IOException
- Throws:
IOException
getGitHubRepo
public org.kohsuke.github.GHRepository getGitHubRepo()
load
public void load()
throws IOException
- Throws:
IOException
save
public void save()
throws IOException
- Specified by:
save
in interface hudson.model.Saveable
- Throws:
IOException
getConfigXml
protected hudson.XmlFile getConfigXml(hudson.model.AbstractProject<?,?> project)
throws IOException
- Throws:
IOException
Copyright © 2004-2016. All Rights Reserved.