Package com.google.gerrit.server.update
Interface PostUpdateContext
-
- All Superinterfaces:
Context
public interface PostUpdateContext extends Context
Context for performing theRepoOnlyOp.postUpdate(com.google.gerrit.server.update.PostUpdateContext)
phase.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ChangeData
getChangeData(Change change)
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, newPersonIdent
-
-
-
-
Method Detail
-
getChangeData
ChangeData getChangeData(Change change)
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:
change
- the change for which the change data should be returned
-
getChangeData
default ChangeData getChangeData(ChangeNotes changeNotes)
-
-