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.
|
updateRepo
public 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.Op
updateChange
in class BatchUpdate.Op
ctx
- contextcom.google.gwtorm.server.OrmException
IOException
public void postUpdate(BatchUpdate.Context ctx)
BatchUpdate.RepoOnlyOp
postUpdate
in class BatchUpdate.RepoOnlyOp
ctx
- context