Package com.google.gerrit.server.update
Interface RepoOnlyOp
-
- All Known Subinterfaces:
BatchUpdateOp
,InsertChangeOp
- All Known Implementing Classes:
AbandonOp
,AddReviewersOp
,AddToAttentionSetOp
,AttentionSetUnchangedOp
,ChangeInserter
,DeleteChangeOp
,DeleteReviewerByEmailOp
,DeleteReviewerOp
,GitlinkOp
,MergedByPushOp
,PatchSetInserter
,PublishCommentsOp
,RebaseChangeOp
,RemoveFromAttentionSetOp
,ResetCherryPickOp
,SetAssigneeOp
,SetCherryPickOp
,SetHashtagsOp
,SetPrivateOp
,SetTopicOp
,WorkInProgressOp
public interface RepoOnlyOp
Base interface for operations performed as part of aBatchUpdate
.Operations that implement this type only touch the repository; they cannot touch change storage, nor are they even associated with a change ID. To modify a change, implement
BatchUpdateOp
instead.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
postUpdate(Context ctx)
Override this method to do something after the update e.g.default void
updateRepo(RepoContext ctx)
Override this method to update the repo.
-
-
-
Method Detail
-
updateRepo
default void updateRepo(RepoContext ctx) throws Exception
Override this method to update the repo.- Parameters:
ctx
- context- Throws:
Exception
-
-