Package com.google.gerrit.server.change
Class SetCustomKeyedValuesOp
java.lang.Object
com.google.gerrit.server.change.SetCustomKeyedValuesOp
- All Implemented Interfaces:
BatchUpdateOp,RepoOnlyOp
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidOverride this method to do something after the update e.g.setFireEvent(boolean fireEvent) booleanOverride this method to modify a change.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gerrit.server.update.RepoOnlyOp
updateRepo
-
Method Details
-
setFireEvent
-
updateChange
public boolean updateChange(ChangeContext ctx) throws AuthException, BadRequestException, MethodNotAllowedException, IOException Description copied from interface:BatchUpdateOpOverride this method to modify a change.- Specified by:
updateChangein interfaceBatchUpdateOp- Parameters:
ctx- context- Returns:
- whether anything was changed that might require a write to the metadata storage.
- Throws:
AuthExceptionBadRequestExceptionMethodNotAllowedExceptionIOException
-
postUpdate
Description copied from interface:RepoOnlyOpOverride this method to do something after the update e.g. send email or run hooks- Specified by:
postUpdatein interfaceRepoOnlyOp- Parameters:
ctx- context
-
getUpdatedCustomKeyedValues
-