public class NoteDbBatchUpdate extends BatchUpdate
BatchUpdate implementation using only NoteDb that updates code refs and meta refs in a
single BatchRefUpdate.
Used when noteDb.changes.disableReviewDb=true, at which point ReviewDb is not
consulted during updates.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NoteDbBatchUpdate.AssistedFactory |
BatchUpdate.FactorybatchRefUpdate, newChanges, onSubmitValidators, ops, order, project, pushCert, refLogMessage, repoManager, repoOnlyOps, repoView, tz, user, when| Modifier and Type | Method and Description |
|---|---|
void |
execute(BatchUpdateListener listener) |
protected Context |
newContext() |
addOp, addRepoOnlyOp, close, execute, getAccount, getRefUpdates, getRepoView, getRevWalk, getUser, initRepository, insertChange, logDebug, logDebug, logDebug, logDebug, logDebug, module, setOnSubmitValidators, setOrder, setPushCertificate, setRefLogMessage, setRepository, updateChangesInParallelpublic void execute(BatchUpdateListener listener) throws UpdateException, RestApiException
execute in class BatchUpdateUpdateExceptionRestApiExceptionprotected Context newContext()
newContext in class BatchUpdate