public abstract class FlatteningCommentPropertyProvider extends Object implements CommentPropertyProvider
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.CommentPropertyProvider
Constructor and Description |
---|
FlatteningCommentPropertyProvider() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doProvideProperties(CommentPropertyContext context) |
void |
provideProperties(CommentPropertyContext context)
Provide properties to the given
context . |
public void provideProperties(@Nonnull CommentPropertyContext context)
CommentPropertyProvider
context
.provideProperties
in interface CommentPropertyProvider
context
- current comment contextprotected abstract void doProvideProperties(@Nonnull CommentPropertyContext context)
Copyright © 2020 Atlassian. All rights reserved.