public abstract class

FlatteningCommentPropertyProvider

extends Object
implements CommentPropertyProvider
java.lang.Object
   ↳ com.atlassian.bitbucket.comment.FlatteningCommentPropertyProvider

Class Overview

An implementation of CommentPropertyProvider that flattens the list of the comments in the context such that subclasses that override doProvideProperties(CommentPropertyContext) have instant access to all nested comments without having to go through the Comment#getComments() reply tree manually.

Summary

Public Constructors
FlatteningCommentPropertyProvider()
Public Methods
void provideProperties(CommentPropertyContext context)
Provide properties to the given context.
Protected Methods
abstract void doProvideProperties(CommentPropertyContext context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.comment.CommentPropertyProvider

Public Constructors

public FlatteningCommentPropertyProvider ()

Public Methods

public void provideProperties (CommentPropertyContext context)

Provide properties to the given context.

Parameters
context current comment context

Protected Methods

protected abstract void doProvideProperties (CommentPropertyContext context)