Package com.google.gerrit.server.notedb
Interface StoreSubmitRequirementsOp.Factory
- Enclosing class:
StoreSubmitRequirementsOp
public static interface StoreSubmitRequirementsOp.Factory
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(Collection<SubmitRequirementResult> submitRequirements, ChangeData changeData) submitRequirements
are explicitly passed to the operation so that they are evaluated before theStoreSubmitRequirementsOp.updateChange(com.google.gerrit.server.update.ChangeContext)
is called.
-
Method Details
-
create
StoreSubmitRequirementsOp create(Collection<SubmitRequirementResult> submitRequirements, ChangeData changeData) submitRequirements
are explicitly passed to the operation so that they are evaluated before theStoreSubmitRequirementsOp.updateChange(com.google.gerrit.server.update.ChangeContext)
is called.This is because the return results of
ChangeData.submitRequirements()
depend on the status of the change, which can be modified by otherBatchUpdateOp
, sharing the sameChangeContext
.
-