Package com.atlassian.bitbucket.comment
Interface Comment
- All Superinterfaces:
PropertySupport
A comment on a pull request or commit.
-
Method Summary
Methods inherited from interface com.atlassian.bitbucket.property.PropertySupport
getProperties
-
Method Details
-
getAnchor
This is a short-hand forcomment.getThread().getAnchor()
- Returns:
- the anchor associated with this comment's
thread
- Since:
- 5.0
-
getAuthor
- Returns:
- the author of the comment
-
getComments
- Returns:
- the direct replies to the comment, or an empty list of there are none
-
getCreatedDate
- Returns:
- the date when the comment was originally created
- See Also:
-
getId
long getId()- Returns:
- the comment's ID, which is globally unique
-
getPermittedOperations
- Returns:
- the operations allowed by the current user. If not
present
then none are permitted - Since:
- 5.0
-
getResolvedDate
- Returns:
- the date that the comment was resolved or null if not resolved.
- Since:
- 6.7
-
getResolver
Retrieves theuser
who resolved the comment.- Returns:
- the user who resolved the comment or null if not resolved
- Since:
- 6.7
-
getSeverity
- Returns:
- the
severity
for this comment - Since:
- 6.7
-
getState
- Returns:
- the
state
for this comment - Since:
- 6.7
-
getText
- Returns:
- the raw text of the comment (limited to 32k)
-
getThread
- Returns:
- the thread this comment is a part of
- Since:
- 5.0
-
getUpdatedDate
- Returns:
- the date of the last update
- See Also:
-
getVersion
int getVersion()- Returns:
- the current version of the comment
- See Also:
-