public class MergedByPushOp extends BatchUpdate.Op
| Modifier and Type | Class and Description |
|---|---|
static interface |
MergedByPushOp.Factory |
| Modifier and Type | Method and Description |
|---|---|
String |
getMergedIntoRef() |
void |
postUpdate(BatchUpdate.Context ctx)
Override this method to do something after the update
e.g.
|
MergedByPushOp |
setPatchSetProvider(com.google.inject.Provider<com.google.gerrit.reviewdb.client.PatchSet> patchSetProvider) |
boolean |
updateChange(BatchUpdate.ChangeContext ctx)
Override this method to modify a change.
|
updateRepopublic String getMergedIntoRef()
public MergedByPushOp setPatchSetProvider(com.google.inject.Provider<com.google.gerrit.reviewdb.client.PatchSet> patchSetProvider)
public boolean updateChange(BatchUpdate.ChangeContext ctx) throws com.google.gwtorm.server.OrmException, IOException
BatchUpdate.OpupdateChange in class BatchUpdate.Opctx - contextcom.google.gwtorm.server.OrmExceptionIOExceptionpublic void postUpdate(BatchUpdate.Context ctx)
BatchUpdate.RepoOnlyOppostUpdate in class BatchUpdate.RepoOnlyOpctx - context