Package com.atlassian.bitbucket.comment
Class FlatteningCommentPropertyProvider
java.lang.Object
com.atlassian.bitbucket.comment.FlatteningCommentPropertyProvider
- All Implemented Interfaces:
CommentPropertyProvider
public abstract class FlatteningCommentPropertyProvider
extends Object
implements CommentPropertyProvider
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 reply tree
manually.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
void
provideProperties
(CommentPropertyContext context) Provide properties to the givencontext
.
-
Constructor Details
-
FlatteningCommentPropertyProvider
public FlatteningCommentPropertyProvider()
-
-
Method Details
-
provideProperties
Description copied from interface:CommentPropertyProvider
Provide properties to the givencontext
.- Specified by:
provideProperties
in interfaceCommentPropertyProvider
- Parameters:
context
- current comment context
-
doProvideProperties
-