Package com.google.gerrit.server.change
Class AttentionSetUnchangedOp
java.lang.Object
com.google.gerrit.server.change.AttentionSetUnchangedOp
- All Implemented Interfaces:
BatchUpdateOp
,RepoOnlyOp
Ensures that the attention set will not be changed, thus blocks
RemoveFromAttentionSetOp
and AddToAttentionSetOp
and updates in ChangeUpdate
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Constructor Details
-
AttentionSetUnchangedOp
public AttentionSetUnchangedOp()
-
-
Method Details
-
updateChange
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
-