Package com.google.gerrit.server
Class PublishCommentUtil
java.lang.Object
com.google.gerrit.server.PublishCommentUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<CommentValidationFailure>
findInvalidComments
(CommentValidationContext ctx, PluginSetContext<CommentValidator> commentValidators, com.google.common.collect.ImmutableList<CommentForValidation> commentsForValidation) Helper to run the specified set ofCommentValidator
-s on the specified comments.void
publish
(ChangeContext ctx, ChangeUpdate changeUpdate, Collection<HumanComment> draftComments, String tag)
-
Method Details
-
publish
public void publish(ChangeContext ctx, ChangeUpdate changeUpdate, Collection<HumanComment> draftComments, String tag) -
findInvalidComments
public static com.google.common.collect.ImmutableList<CommentValidationFailure> findInvalidComments(CommentValidationContext ctx, PluginSetContext<CommentValidator> commentValidators, com.google.common.collect.ImmutableList<CommentForValidation> commentsForValidation) Helper to run the specified set ofCommentValidator
-s on the specified comments.
-