Package com.google.gerrit.server.change
Class DeleteChangeOp
- java.lang.Object
-
- com.google.gerrit.server.change.DeleteChangeOp
-
- All Implemented Interfaces:
BatchUpdateOp
,RepoOnlyOp
public class DeleteChangeOp extends Object implements BatchUpdateOp
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
updateChange(ChangeContext ctx)
Override this method to modify a change.void
updateRepo(RepoContext ctx)
Override this method to update the repo.-
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
-
-
-
-
Method Detail
-
updateChange
public boolean updateChange(ChangeContext ctx) throws RestApiException, com.google.gwtorm.server.OrmException, IOException, NoSuchChangeException
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
com.google.gwtorm.server.OrmException
IOException
NoSuchChangeException
-
updateRepo
public void updateRepo(RepoContext ctx) throws IOException
Description copied from interface:RepoOnlyOp
Override this method to update the repo.- Specified by:
updateRepo
in interfaceRepoOnlyOp
- Parameters:
ctx
- context- Throws:
IOException
-
-