public interface Comment extends PropertySupport, TaskAnchor
Modifier and Type | Method and Description |
---|---|
Optional<CommentThreadDiffAnchor> |
getAnchor()
This is a short-hand for
comment.getThread().getAnchor() |
ApplicationUser |
getAuthor() |
List<Comment> |
getComments() |
Date |
getCreatedDate() |
long |
getId() |
Optional<CommentOperations> |
getPermittedOperations() |
Date |
getResolvedDate() |
ApplicationUser |
getResolver()
Retrieves the
user who resolved the comment. |
CommentSeverity |
getSeverity() |
CommentState |
getState() |
List<Task> |
getTasks()
Deprecated.
in 7.0 for removal in 8.0. Use
getComments() instead; CommentSeverity.BLOCKER
comments are treated as tasks. |
String |
getText() |
CommentThread |
getThread() |
Date |
getUpdatedDate() |
int |
getVersion() |
getProperties
accept
@Nonnull Optional<CommentThreadDiffAnchor> getAnchor()
comment.getThread().getAnchor()
thread
@Nonnull ApplicationUser getAuthor()
@Nonnull List<Comment> getComments()
@Nonnull Date getCreatedDate()
getUpdatedDate()
long getId()
getId
in interface TaskAnchor
@Nonnull Optional<CommentOperations> getPermittedOperations()
present
then none are permitted@Nullable Date getResolvedDate()
@Nullable ApplicationUser getResolver()
user
who resolved the comment.@Nonnull CommentSeverity getSeverity()
severity
for this comment@Nonnull CommentState getState()
state
for this comment@Deprecated @Nonnull List<Task> getTasks()
getComments()
instead; CommentSeverity.BLOCKER
comments are treated as tasks.@Nonnull @RequiredString(size=32768) String getText()
@Nonnull CommentThread getThread()
@Nonnull Date getUpdatedDate()
getCreatedDate()
int getVersion()
getUpdatedDate()
Copyright © 2022 Atlassian. All rights reserved.