public class PostReviewersOp extends Object implements BatchUpdateOp
Modifier and Type | Class and Description |
---|---|
static interface |
PostReviewersOp.Factory |
static class |
PostReviewersOp.Result |
Modifier and Type | Method and Description |
---|---|
void |
emailReviewers(Change change,
Collection<Account.Id> added,
Collection<Account.Id> copied,
Collection<Address> addedByEmail,
Collection<Address> copiedByEmail,
NotifyHandling notify,
com.google.common.collect.ListMultimap<RecipientType,Account.Id> accountsToNotify) |
PostReviewersOp.Result |
getResult() |
void |
postUpdate(Context ctx)
Override this method to do something after the update e.g.
|
boolean |
updateChange(ChangeContext ctx)
Override this method to modify a change.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateRepo
public boolean updateChange(ChangeContext ctx) throws RestApiException, com.google.gwtorm.server.OrmException, IOException
BatchUpdateOp
updateChange
in interface BatchUpdateOp
ctx
- contextRestApiException
com.google.gwtorm.server.OrmException
IOException
public void postUpdate(Context ctx) throws Exception
RepoOnlyOp
postUpdate
in interface RepoOnlyOp
ctx
- contextException
public void emailReviewers(Change change, Collection<Account.Id> added, Collection<Account.Id> copied, Collection<Address> addedByEmail, Collection<Address> copiedByEmail, NotifyHandling notify, com.google.common.collect.ListMultimap<RecipientType,Account.Id> accountsToNotify)
public PostReviewersOp.Result getResult()