Package com.google.gerrit.server.update
Interface InsertChangeOp
- All Superinterfaces:
BatchUpdateOp
,RepoOnlyOp
- All Known Implementing Classes:
ChangeInserter
Specialization of
BatchUpdateOp
for creating changes.
A typical BatchUpdateOp
operates on a change that has been read from a transaction;
this type, by contrast, is responsible for creating the change from scratch.
Ops of this type must be used via BatchUpdate.insertChange(InsertChangeOp)
. They may
be mixed with other BatchUpdateOp
s for the same change, in which case the insert op runs
first.
-
Method Summary
Methods inherited from interface com.google.gerrit.server.update.BatchUpdateOp
updateChange
Methods inherited from interface com.google.gerrit.server.update.RepoOnlyOp
postUpdate, updateRepo
-
Method Details
-
createChange
- Throws:
IOException
-