public class StreamingCommentsRetriever extends Object
Constructor and Description |
---|
StreamingCommentsRetriever(QueryDslAccessor queryDslAccessor,
ProjectRoleManager projectRoleManager,
UserManager userManager,
CommentPermissionManager commentPermissionManager,
DatabaseConfigurationManager databaseConfigurationManager) |
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, ProjectRoleManager projectRoleManager, UserManager userManager, CommentPermissionManager commentPermissionManager, DatabaseConfigurationManager databaseConfigurationManager)
public java.util.stream.Stream<Comment> stream(@Nullable ApplicationUser user, @Nonnull Issue issue)
user
- issue
- issue for which to fetch commentsCopyright © 2002-2017 Atlassian. All Rights Reserved.