Interface CommentRetriever
- All Known Implementing Classes:
DefaultCommentRetriever
public interface CommentRetriever
Retrieves comments associated with an issue to be indexed
- Since:
- 11.0
-
Method Summary
-
Method Details
-
retrieve
Retrieves comments for the given issue.- Parameters:
issue- the issue for which comments are to be retrieved- Returns:
- a list of comments associated with the issue, sorted by creation date in descending order
-
retrieveById
Retrieves a comment by its ID.- Parameters:
commentId- the ID of the comment to retrieve- Returns:
- an Optional containing the comment if found, or empty if not found
-