public interface NewCommentDeduplicator
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<Comment> |
findDuplicateComment(Iterable<Comment> existingComments)
Deprecated.
since 7.0.1. Use
getDuplicateComment(Iterable) |
default Optional<Comment> |
getDuplicateComment(Iterable<Comment> existingComments)
Given a collection of existing comments, determine which one, if any, is a duplicate of the new comment submission.
|
void |
newCommentSaved(Comment newComment)
Called when a new comment has been saved
|
@Deprecated com.atlassian.fugue.Option<Comment> findDuplicateComment(Iterable<Comment> existingComments)
getDuplicateComment(Iterable)
default Optional<Comment> getDuplicateComment(Iterable<Comment> existingComments)
void newCommentSaved(Comment newComment)
Copyright © 2003–2019 Atlassian. All rights reserved.