|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kohsuke.github.GHCommitComment
public class GHCommitComment
A comment attached to a commit (or a specific line in a specific file of a commit.)
GHRepository.listCommitComments(),
GHCommit.listComments(),
GHCommit.createComment(String, String, Integer, Integer)| Constructor Summary | |
|---|---|
GHCommitComment()
|
|
| Method Summary | |
|---|---|
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. |
Date |
getCreatedAt()
|
URL |
getHtmlUrl()
URL like 'https://github.com/kohsuke/sandbox-ant/commit/8ae38db0ea5837313ab5f39d43a6f73de3bd9000#commitcomment-1252827' to show this commit comment in a browser. |
int |
getId()
|
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()
|
Date |
getUpdatedAt()
|
GHUser |
getUser()
Gets the user who put this comment. |
void |
update(String body)
Updates the body of the commit message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GHCommitComment()
| Method Detail |
|---|
public GHRepository getOwner()
public Date getCreatedAt()
public Date getUpdatedAt()
public URL getHtmlUrl()
public String getSHA1()
public String getBody()
public String getPath()
public int getLine()
public int getId()
public GHUser getUser()
throws IOException
IOException
public GHCommit getCommit()
throws IOException
IOException
public void update(String body)
throws IOException
IOException
public void delete()
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||