public class ReviewboardOps extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReviewboardOps.Item |
static class |
ReviewboardOps.Items |
static class |
ReviewboardOps.Link |
static class |
ReviewboardOps.Links |
static class |
ReviewboardOps.MyDateAdapter |
static class |
ReviewboardOps.Repository |
static class |
ReviewboardOps.Response |
static class |
ReviewboardOps.ReviewItem |
static class |
ReviewboardOps.ReviewRequest |
static class |
ReviewboardOps.ReviewsRequests |
static class |
ReviewboardOps.ReviewsResponse |
static class |
ReviewboardOps.User |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureAuthentication(ReviewboardConnection con) |
static void |
ensureAuthentication(ReviewboardConnection con,
org.apache.commons.httpclient.HttpClient http) |
org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardOps.DiffHandle |
getDiff(ReviewboardConnection con,
String url) |
org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardOps.DiffHandle |
getDiff(String url) |
static ReviewboardOps |
getInstance() |
Collection<Review.Slim> |
getPendingReviews(ReviewboardConnection con,
long periodInHours,
boolean restrictByUser,
int repoid) |
Map<String,String> |
getProperties(ReviewboardConnection con,
String url) |
Map<String,String> |
getProperties(String url) |
Map<String,Integer> |
getRepositories() |
Map<String,Integer> |
getRepositories(ReviewboardConnection con) |
static boolean |
logout(ReviewboardConnection con,
org.apache.commons.httpclient.HttpClient http) |
boolean |
postComment(ReviewboardConnection con,
String url,
String msg,
boolean shipIt,
boolean markdown) |
boolean |
postComment(String url,
String msg,
boolean shipIt,
boolean markdown) |
public static ReviewboardOps getInstance()
public static boolean logout(ReviewboardConnection con, org.apache.commons.httpclient.HttpClient http)
public void ensureAuthentication(ReviewboardConnection con) throws IOException
IOExceptionpublic static void ensureAuthentication(ReviewboardConnection con, org.apache.commons.httpclient.HttpClient http) throws IOException
IOExceptionpublic org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardOps.DiffHandle getDiff(String url) throws IOException
IOExceptionpublic org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardOps.DiffHandle getDiff(ReviewboardConnection con, String url) throws IOException
IOExceptionpublic Map<String,String> getProperties(String url) throws IOException
IOExceptionpublic Map<String,String> getProperties(ReviewboardConnection con, String url) throws IOException
IOExceptionpublic Collection<Review.Slim> getPendingReviews(ReviewboardConnection con, long periodInHours, boolean restrictByUser, int repoid) throws IOException, javax.xml.bind.JAXBException, ParseException
public boolean postComment(String url, String msg, boolean shipIt, boolean markdown) throws IOException
IOExceptionpublic boolean postComment(ReviewboardConnection con, String url, String msg, boolean shipIt, boolean markdown) throws IOException
IOExceptionpublic Map<String,Integer> getRepositories() throws IOException, javax.xml.bind.JAXBException, ParseException
public Map<String,Integer> getRepositories(ReviewboardConnection con) throws IOException, javax.xml.bind.JAXBException, ParseException
Copyright © 2004-2015. All Rights Reserved.