Class ReplyAttentionSetUpdates
java.lang.Object
com.google.gerrit.server.restapi.change.ReplyAttentionSetUpdates
This class is used to update the attention set when performing a review or replying on a change.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processAutomaticAttentionSetRulesOnReply
(BatchUpdate bu, ChangeNotes changeNotes, boolean readyForReview, CurrentUser currentUser, List<HumanComment> commentsToBePublished) Adjusts the attention set but only based on the automatic rules.void
updateAttentionSet
(BatchUpdate bu, ChangeNotes changeNotes, ReviewInput input, CurrentUser currentUser) Adjusts the attention set by adding and removing users.
-
Method Details
-
processAutomaticAttentionSetRulesOnReply
public void processAutomaticAttentionSetRulesOnReply(BatchUpdate bu, ChangeNotes changeNotes, boolean readyForReview, CurrentUser currentUser, List<HumanComment> commentsToBePublished) Adjusts the attention set but only based on the automatic rules. -
updateAttentionSet
public void updateAttentionSet(BatchUpdate bu, ChangeNotes changeNotes, ReviewInput input, CurrentUser currentUser) throws BadRequestException, IOException, PermissionBackendException, UnprocessableEntityException, org.eclipse.jgit.errors.ConfigInvalidException Adjusts the attention set by adding and removing users. If the same user should be added and removed or added/removed twice, the user will only be added/removed once, based on first addition/removal.- Throws:
BadRequestException
IOException
PermissionBackendException
UnprocessableEntityException
org.eclipse.jgit.errors.ConfigInvalidException
-