public class GHCommitComment extends GHObject
GHRepository.listCommitComments(),
GHCommit.listComments(),
GHCommit.createComment(String, String, Integer, Integer)created_at, id, updated_at, url| Constructor and Description |
|---|
GHCommitComment() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes this comment.
|
java.lang.String |
getBody()
Commit comment in the GitHub flavored markdown format.
|
GHCommit |
getCommit()
Gets the commit to which this comment is associated with.
|
java.net.URL |
getHtmlUrl()
URL like 'https://github.com/kohsuke/sandbox-ant/commit/8ae38db0ea5837313ab5f39d43a6f73de3bd9000#commitcomment-1252827' to
show this commit comment in a browser.
|
int |
getLine()
A commit comment can be on a specific line of a specific file, if so, this field points to the line number in the file.
|
GHRepository |
getOwner() |
java.lang.String |
getPath()
A commit comment can be on a specific line of a specific file, if so, this field points to a file.
|
java.lang.String |
getSHA1() |
GHUser |
getUser()
Gets the user who put this comment.
|
void |
update(java.lang.String body)
Updates the body of the commit message.
|
getCreatedAt, getId, getUpdatedAt, getUrl, toStringpublic GHRepository getOwner()
public java.net.URL getHtmlUrl()
getHtmlUrl in class GHObjectpublic java.lang.String getSHA1()
public java.lang.String getBody()
public java.lang.String getPath()
public int getLine()
public GHUser getUser() throws java.io.IOException
java.io.IOExceptionpublic GHCommit getCommit() throws java.io.IOException
java.io.IOExceptionpublic void update(java.lang.String body)
throws java.io.IOException
java.io.IOExceptionpublic void delete()
throws java.io.IOException
java.io.IOExceptionCopyright © 2016. All Rights Reserved.