| com.atlassian.bitbucket.comment.CommentThread |
Class Overview
Represents a conversation started on a commentable. The comment thread knows about the
commentable commentable, all the comments in the conversation (accessible through the
root comment) and (optionally) where the thread is anchored on a diff.
Public Methods
Returns
- the anchor for comment threads created on a diff.
@Nonnull
public
Commentable
getCommentable
()
Returns
- the commentable on which this comment thread is anchored.
@Nonnull
public
Date
getCreatedDate
()
Returns
- the date on which this comment thread was created.
@Nonnull
public
Comment
getRootComment
()
Returns
- the root comment in the thread.
@Nonnull
public
Date
getUpdatedDate
()
Returns
- the date on which the latest comment was added to this thread.
public
boolean
isAnchored
()
Returns
true if the anchor is present. false otherwise