Package com.atlassian.bitbucket.comment
Interface CommentPropertyContext
- All Superinterfaces:
- com.atlassian.bitbucket.comment.Commentable,- Iterable<com.atlassian.bitbucket.comment.Comment>
public interface CommentPropertyContext
extends Iterable<com.atlassian.bitbucket.comment.Comment>, com.atlassian.bitbucket.comment.Commentable
Allows iterating and adding 
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).
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetProperty(com.atlassian.bitbucket.comment.Comment comment, String key, Object value) Adds a property to thecomment.Methods inherited from interface com.atlassian.bitbucket.comment.CommentableacceptMethods inherited from interface java.lang.IterableforEach, iterator, spliterator
- 
Method Details- 
setPropertyvoid setProperty(@Nonnull com.atlassian.bitbucket.comment.Comment comment, @Nonnull String key, @Nonnull Object value) Adds a property to thecomment. Any existing property stored underkeywill be replaced.- Parameters:
- comment- the comment that will receive the new property
- key- property key
- value- property value
 
 
-