public interface CommentPropertyContext extends Iterable<com.atlassian.bitbucket.comment.Comment>, com.atlassian.bitbucket.comment.Commentable
properties
on comments. This context
is guaranteed to not contain duplicate comments.
Clients can also access the entity owning the comments by using Commentable.accept(CommentableVisitor)
.
Modifier and Type | Method and Description |
---|---|
void |
setProperty(com.atlassian.bitbucket.comment.Comment comment,
String key,
Object value)
Adds a property to the
comment . |
forEach, iterator, spliterator
void setProperty(@Nonnull com.atlassian.bitbucket.comment.Comment comment, @Nonnull String key, @Nonnull Object value)
comment
. Any existing property stored under key
will be replaced.comment
- the comment that will receive the new propertykey
- property keyvalue
- property valueCopyright © 2024 Atlassian. All rights reserved.