public class StreamingCommentsRetriever extends Object
Constructor and Description |
---|
StreamingCommentsRetriever(QueryDslAccessor queryDslAccessor,
CommentPermissionManager commentPermissionManager,
DatabaseConfigurationManager databaseConfigurationManager,
ActionDTOToCommentConverter converter) |
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<Comment> |
stream(ApplicationUser user,
Issue issue)
This method iterates over each comment of the given issue and executes a callback on it.
|
public StreamingCommentsRetriever(QueryDslAccessor queryDslAccessor, CommentPermissionManager commentPermissionManager, DatabaseConfigurationManager databaseConfigurationManager, ActionDTOToCommentConverter converter)
public java.util.stream.Stream<Comment> stream(@Nullable ApplicationUser user, @Nonnull Issue issue)
user
- issue
- issue for which to fetch commentsCopyright © 2002-2021 Atlassian. All Rights Reserved.