public class GHPullRequestReview extends GHObject
created_at, id, responseHeaderFields, updated_at, url| Constructor and Description |
|---|
GHPullRequestReview() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes this review.
|
void |
dismiss(String message)
Dismisses this review.
|
protected String |
getApiRoute() |
String |
getBody()
The comment itself.
|
String |
getCommitId() |
URL |
getHtmlUrl()
URL of this object for humans, which renders some HTML.
|
GHPullRequest |
getParent()
Gets the pull request to which this review is associated.
|
GHPullRequestReviewState |
getState() |
GHUser |
getUser()
Gets the user who posted this review.
|
PagedIterable<GHPullRequestReviewComment> |
listReviewComments()
Obtains all the review comments associated with this pull request review.
|
void |
submit(String body,
GHPullRequestReviewEvent event)
Updates the comment.
|
void |
submit(String body,
GHPullRequestReviewState state)
Deprecated.
Former preview method that changed when it got public. Left here for backward compatibility.
Use
submit(String, GHPullRequestReviewEvent) |
getCreatedAt, getId, getResponseHeaderFields, getUpdatedAt, getUrl, toStringpublic GHPullRequest getParent()
public String getBody()
public GHUser getUser() throws IOException
IOExceptionpublic String getCommitId()
@CheckForNull public GHPullRequestReviewState getState()
public URL getHtmlUrl()
GHObjectgetHtmlUrl in class GHObjectprotected String getApiRoute()
public void submit(String body, GHPullRequestReviewState state) throws IOException
submit(String, GHPullRequestReviewEvent)IOExceptionpublic void submit(String body, GHPullRequestReviewEvent event) throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void dismiss(String message) throws IOException
IOExceptionpublic PagedIterable<GHPullRequestReviewComment> listReviewComments() throws IOException
IOExceptionCopyright © 2018. All rights reserved.