Package com.google.gerrit.server.change
Class ReviewerOp
java.lang.Object
com.google.gerrit.server.change.ReviewerOp
- All Implemented Interfaces:
BatchUpdateOp
,RepoOnlyOp
- Direct Known Subclasses:
AddReviewersOp
,DeleteReviewerByEmailOp
,DeleteReviewerOp
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Runnable
protected ReviewerOp.Result
protected PatchSet
protected boolean
protected boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
boolean
Override this method to modify a change.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.gerrit.server.update.RepoOnlyOp
postUpdate, updateRepo
-
Field Details
-
sendEmail
protected boolean sendEmail -
sendEvent
protected boolean sendEvent -
eventSender
-
patchSet
-
opResult
-
-
Constructor Details
-
ReviewerOp
public ReviewerOp()
-
-
Method Details
-
suppressEmail
public void suppressEmail() -
suppressEvent
public void suppressEvent() -
sendEvent
public void sendEvent() -
getResult
-
updateChange
public boolean updateChange(ChangeContext ctx) throws RestApiException, IOException, PermissionBackendException Description copied from interface:BatchUpdateOp
Override this method to modify a change.- Specified by:
updateChange
in interfaceBatchUpdateOp
- Parameters:
ctx
- context- Returns:
- whether anything was changed that might require a write to the metadata storage.
- Throws:
RestApiException
IOException
PermissionBackendException
-