Interface CommentValidator
-
public interface CommentValidator
Validates review comments and messages. Rejecting any comment/message will prevent all comments from being published.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<CommentValidationFailure>
validateComments(com.google.common.collect.ImmutableList<CommentForValidation> comments)
Validate the specified comments.
-
-
-
Method Detail
-
validateComments
com.google.common.collect.ImmutableList<CommentValidationFailure> validateComments(com.google.common.collect.ImmutableList<CommentForValidation> comments)
Validate the specified comments.- Returns:
- An empty list if all comments are valid, or else a list of validation failures.
-
-