public class ReplaceOp extends BatchUpdate.Op
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplaceOp.Factory |
| Modifier and Type | Method and Description |
|---|---|
com.google.gerrit.reviewdb.client.PatchSet |
getPatchSet() |
java.lang.String |
getRejectMessage() |
void |
postUpdate(BatchUpdate.Context ctx)
Override this method to do something after the update
e.g.
|
boolean |
updateChange(BatchUpdate.ChangeContext ctx)
Override this method to modify a change.
|
void |
updateRepo(BatchUpdate.RepoContext ctx)
Override this method to update the repo.
|
public void updateRepo(BatchUpdate.RepoContext ctx) throws java.lang.Exception
BatchUpdate.RepoOnlyOpupdateRepo in class BatchUpdate.RepoOnlyOpctx - contextjava.lang.Exceptionpublic boolean updateChange(BatchUpdate.ChangeContext ctx) throws com.google.gwtorm.server.OrmException, java.io.IOException
BatchUpdate.OpupdateChange in class BatchUpdate.Opctx - contextcom.google.gwtorm.server.OrmExceptionjava.io.IOExceptionpublic void postUpdate(BatchUpdate.Context ctx) throws java.lang.Exception
BatchUpdate.RepoOnlyOppostUpdate in class BatchUpdate.RepoOnlyOpctx - contextjava.lang.Exceptionpublic com.google.gerrit.reviewdb.client.PatchSet getPatchSet()
public java.lang.String getRejectMessage()