@Deprecated public interface

CommentAttributeContext

implements Commentable Iterable<T>
com.atlassian.stash.comment.CommentAttributeContext

This interface is deprecated.
in 3.4 for removal in 4.0. CommentAttributeProvider that uses this class will be removed in favour of CommentPropertyProvider

Class Overview

Allows iterating and adding attributes on comments.

Clients can also access the entity owning the comments by using Commentable#accept(CommentableVisitor).

Summary

Public Methods
void addAttribute(Comment comment, String key, String value)
Adds an attribute on the specified comment.
[Expand]
Inherited Methods
From interface com.atlassian.stash.comment.Commentable
From interface java.lang.Iterable

Public Methods

public void addAttribute (Comment comment, String key, String value)

Adds an attribute on the specified comment.

Parameters
comment comment that will receive the attribute
key key of the attribute
value value of the attribute