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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidvoidprovideProperties(CommentPropertyContext context) Provide properties to the givencontext.
-
Constructor Details
-
FlatteningCommentPropertyProvider
public FlatteningCommentPropertyProvider()
-
-
Method Details
-
provideProperties
Description copied from interface:CommentPropertyProviderProvide properties to the givencontext.- Specified by:
providePropertiesin interfaceCommentPropertyProvider- Parameters:
context- current comment context
-
doProvideProperties
-