public class PostReviewersOp extends java.lang.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,
java.util.Collection<Account.Id> added,
java.util.Collection<Account.Id> copied,
java.util.Collection<Address> addedByEmail,
java.util.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, java.io.IOException
BatchUpdateOp
updateChange
in interface BatchUpdateOp
ctx
- contextRestApiException
com.google.gwtorm.server.OrmException
java.io.IOException
public void postUpdate(Context ctx) throws java.lang.Exception
RepoOnlyOp
postUpdate
in interface RepoOnlyOp
ctx
- contextjava.lang.Exception
public void emailReviewers(Change change, java.util.Collection<Account.Id> added, java.util.Collection<Account.Id> copied, java.util.Collection<Address> addedByEmail, java.util.Collection<Address> copiedByEmail, NotifyHandling notify, com.google.common.collect.ListMultimap<RecipientType,Account.Id> accountsToNotify)
public PostReviewersOp.Result getResult()