public class ReviewBoardUtils extends Object
| Constructor and Description |
|---|
ReviewBoardUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ReviewRequest |
parseReviewRequestFromParameters(List<hudson.model.ParametersAction> actions)
Parse the review request details from the build parameters.
|
static void |
updateStatusUpdate(ReviewRequest reviewRequest,
ReviewRequest.StatusUpdateState state,
String description,
String url,
String urlText)
Updates a status update on a review request.
|
public static ReviewRequest parseReviewRequestFromParameters(List<hudson.model.ParametersAction> actions) throws MalformedURLException
actions - List of ParametersAction actions from the buildMalformedURLExceptionpublic static void updateStatusUpdate(ReviewRequest reviewRequest, ReviewRequest.StatusUpdateState state, String description, String url, String urlText) throws IOException, ReviewBoardException
reviewRequest - Review Requeststate - Status update statedescription - Status update descriptionurl - URL to use for the build linkurlText - Text to use for the build linkIOExceptionReviewBoardExceptionCopyright © 2016–2019. All rights reserved.