Package com.google.gerrit.server.notedb
Interface StoreSubmitRequirementsOp.Factory
-
- Enclosing class:
- StoreSubmitRequirementsOp
public static interface StoreSubmitRequirementsOp.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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
.
-
-