Package com.google.gerrit.server
Class PublishCommentUtil
- java.lang.Object
-
- com.google.gerrit.server.PublishCommentUtil
-
public class PublishCommentUtil extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.void
publish(ChangeContext ctx, ChangeUpdate changeUpdate, Collection<HumanComment> draftComments, String tag)
-
-
-
Method Detail
-
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.
-
-