public interface

CommentPropertyContext

implements Commentable Iterable<T>
com.atlassian.bitbucket.comment.CommentPropertyContext

Class Overview

Allows iterating and adding PropertyMap 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).

Summary

Public Methods
void setProperty(Comment comment, String key, Object value)
Adds a property to the comment.
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.comment.Commentable
From interface java.lang.Iterable

Public Methods

public void setProperty (Comment comment, String key, Object value)

Adds a property to the comment. Any existing property stored under key will be replaced.

Parameters
comment the comment that will receive the new property
key property key
value property value