public class GHCommitComment extends GHObject implements Reactable
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 |
|---|---|
GHReaction |
createReaction(ReactionContent content)
Deprecated.
|
void |
delete()
Deletes this comment.
|
String |
getBody()
Commit comment in the GitHub flavored markdown format.
|
GHCommit |
getCommit()
Gets the commit to which this comment is associated with.
|
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() |
String |
getPath()
A commit comment can be on a specific line of a specific file, if so, this field points to a file.
|
String |
getSHA1() |
GHUser |
getUser()
Gets the user who put this comment.
|
PagedIterable<GHReaction> |
listReactions()
Deprecated.
|
void |
update(String body)
Updates the body of the commit message.
|
getCreatedAt, getId, getUpdatedAt, getUrl, toStringpublic GHRepository getOwner()
public URL getHtmlUrl()
getHtmlUrl in class GHObjectpublic String getSHA1()
public String getBody()
public String getPath()
public int getLine()
public GHUser getUser() throws IOException
IOExceptionpublic GHCommit getCommit() throws IOException
IOExceptionpublic void update(String body) throws IOException
IOException@Preview @Deprecated public GHReaction createReaction(ReactionContent content) throws IOException
ReactablecreateReaction in interface ReactableIOException@Preview @Deprecated public PagedIterable<GHReaction> listReactions()
ReactablelistReactions in interface Reactablepublic void delete()
throws IOException
IOExceptionCopyright © 2017. All rights reserved.