Package com.google.gerrit.server.update
Interface PostUpdateContext
- All Superinterfaces:
Context
Context for performing the
RepoOnlyOp.postUpdate(com.google.gerrit.server.update.PostUpdateContext)
phase.-
Method Summary
Modifier and TypeMethodDescriptiondefault ChangeData
getChangeData
(Change change) getChangeData
(Project.NameKey projectName, Change.Id changeId) Get the change data for the specified change.default ChangeData
getChangeData
(ChangeNotes changeNotes) Methods inherited from interface com.google.gerrit.server.update.Context
getAccount, getAccountId, getIdentifiedUser, getNotify, getProject, getRepoView, getRevWalk, getUser, getWhen, getZoneId, newCommitterIdent, newCommitterIdent, newCommitterIdent, newPersonIdent
-
Method Details
-
getChangeData
Get the change data for the specified change.If the change data has been computed previously, because the change has been indexed after an update or because this method has been invoked before, the cached change data instance is returned.
- Parameters:
changeId
- the ID of the change for which the change data should be returned
-
getChangeData
-
getChangeData
-