public class StreamingCommentsRetriever extends Object
Modifier and Type | Field and Description |
---|---|
static int |
COMMENTS_FETCH_SIZE |
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 static final int COMMENTS_FETCH_SIZE
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-2024 Atlassian. All Rights Reserved.