public class Comment extends Resource
apirev, DEFAULT_API_REV, id, restclient, self| Modifier | Constructor and Description |
|---|---|
protected |
Comment(RestClient restclient,
net.sf.json.JSONObject json)
Creates a comment from a JSON payload.
|
| Modifier and Type | Method and Description |
|---|---|
static Comment |
get(RestClient restclient,
String issue,
String id)
Retrieves the given comment record.
|
User |
getAuthor() |
String |
getBody() |
Date |
getCreatedDate() |
User |
getUpdateAuthor() |
Date |
getUpdatedDate() |
String |
toString() |
protected Comment(RestClient restclient, net.sf.json.JSONObject json)
restclient - REST client instancejson - JSON payloadpublic static Comment get(RestClient restclient, String issue, String id) throws JiraException
restclient - REST client instanceissue - Internal JIRA ID of the associated issueid - Internal JIRA ID of the commentJiraException - when the retrieval failspublic User getAuthor()
public String getBody()
public Date getCreatedDate()
public User getUpdateAuthor()
public Date getUpdatedDate()
Copyright © 2014. All Rights Reserved.