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() |
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 Exception
BatchUpdate.RepoOnlyOp
updateRepo
in class BatchUpdate.RepoOnlyOp
ctx
- contextException
public boolean updateChange(BatchUpdate.ChangeContext ctx) throws com.google.gwtorm.server.OrmException, IOException
BatchUpdate.Op
updateChange
in class BatchUpdate.Op
ctx
- contextcom.google.gwtorm.server.OrmException
IOException
public void postUpdate(BatchUpdate.Context ctx) throws Exception
BatchUpdate.RepoOnlyOp
postUpdate
in class BatchUpdate.RepoOnlyOp
ctx
- contextException
public com.google.gerrit.reviewdb.client.PatchSet getPatchSet()
public String getRejectMessage()