public interface Context
BatchUpdate
.
A single update may span multiple changes, but they all belong to a single repo.
Modifier and Type | Method and Description |
---|---|
default Account |
getAccount() |
default Account.Id |
getAccountId() |
ReviewDb |
getDb() |
default IdentifiedUser |
getIdentifiedUser() |
Order |
getOrder() |
Project.NameKey |
getProject() |
org.eclipse.jgit.lib.Repository |
getRepository()
Get an open repository instance for this project.
|
org.eclipse.jgit.revwalk.RevWalk |
getRevWalk()
Get a walk for this project.
|
TimeZone |
getTimeZone() |
CurrentUser |
getUser() |
Timestamp |
getWhen() |
Project.NameKey getProject()
org.eclipse.jgit.lib.Repository getRepository() throws IOException
Will be opened lazily if necessary; callers should not close the repo. In some phases of the
update, the repository might be read-only; see BatchUpdateOp
for details.
IOException
- if an error occurred opening the repo.org.eclipse.jgit.revwalk.RevWalk getRevWalk() throws IOException
The repository will be opened lazily if necessary; callers should not close the walk.
IOException
- if an error occurred opening the repo.Timestamp getWhen()
TimeZone getTimeZone()
ReviewDb getDb()
CurrentUser getUser()
IdentifiedUser
or InternalUser
.Order getOrder()
default IdentifiedUser getIdentifiedUser()
IdentifiedUser
default Account getAccount()
IdentifiedUser
default Account.Id getAccountId()
IdentifiedUser