public class BatchUpdate.ChangeContext extends BatchUpdate.Context
| Modifier | Constructor and Description |
|---|---|
protected |
BatchUpdate.ChangeContext(ChangeControl ctl,
com.google.gerrit.reviewdb.server.ReviewDbWrapper dbWrapper,
org.eclipse.jgit.lib.Repository repo,
org.eclipse.jgit.revwalk.RevWalk rw) |
| Modifier and Type | Method and Description |
|---|---|
void |
bumpLastUpdatedOn(boolean bump) |
void |
deleteChange() |
com.google.gerrit.reviewdb.client.Change |
getChange() |
ChangeControl |
getControl() |
com.google.gerrit.reviewdb.server.ReviewDb |
getDb() |
ChangeNotes |
getNotes() |
org.eclipse.jgit.lib.Repository |
getRepository() |
org.eclipse.jgit.revwalk.RevWalk |
getRevWalk() |
ChangeUpdate |
getUpdate(com.google.gerrit.reviewdb.client.PatchSet.Id psId) |
getAccount, getAccountId, getIdentifiedUser, getOrder, getProject, getUser, getWhenprotected BatchUpdate.ChangeContext(ChangeControl ctl, com.google.gerrit.reviewdb.server.ReviewDbWrapper dbWrapper, org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.revwalk.RevWalk rw)
public com.google.gerrit.reviewdb.server.ReviewDb getDb()
getDb in class BatchUpdate.Contextpublic org.eclipse.jgit.lib.Repository getRepository()
getRepository in class BatchUpdate.Contextpublic org.eclipse.jgit.revwalk.RevWalk getRevWalk()
getRevWalk in class BatchUpdate.Contextpublic ChangeUpdate getUpdate(com.google.gerrit.reviewdb.client.PatchSet.Id psId)
public ChangeNotes getNotes()
public ChangeControl getControl()
public com.google.gerrit.reviewdb.client.Change getChange()
public void bumpLastUpdatedOn(boolean bump)
public void deleteChange()