Package com.google.gerrit.server.update
Interface InsertChangeOp
-
- All Superinterfaces:
BatchUpdateOp
,RepoOnlyOp
- All Known Implementing Classes:
ChangeInserter
public interface InsertChangeOp extends BatchUpdateOp
Specialization ofBatchUpdateOp
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 otherBatchUpdateOp
s for the same change, in which case the insert op runs first.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Change
createChange(Context ctx)
-
Methods inherited from interface com.google.gerrit.server.update.BatchUpdateOp
updateChange
-
Methods inherited from interface com.google.gerrit.server.update.RepoOnlyOp
postUpdate, updateRepo
-
-
-
-
Method Detail
-
createChange
Change createChange(Context ctx) throws IOException
- Throws:
IOException
-
-