Package com.google.gerrit.server.update
Class SubmissionExecutor
- java.lang.Object
- 
- com.google.gerrit.server.update.SubmissionExecutor
 
- 
 public class SubmissionExecutor extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description SubmissionExecutor(boolean dryrun, com.google.common.collect.ImmutableList<SubmissionListener> submissionListeners)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterExecutions(MergeOpRepoManager orm)Caller invokes this when done with the submission (either because everything succeeded or gave up retrying).voidexecute(Collection<BatchUpdate> updates)Execute the batch updates, reporting to all the Submission and BatchUpdateListeners.voidsetAdditionalBatchUpdateListeners(com.google.common.collect.ImmutableList<BatchUpdateListener> additionalListeners)Set additional listeners.
 
- 
- 
- 
Constructor Detail- 
SubmissionExecutorpublic SubmissionExecutor(boolean dryrun, com.google.common.collect.ImmutableList<SubmissionListener> submissionListeners)
 
- 
 - 
Method Detail- 
setAdditionalBatchUpdateListenerspublic void setAdditionalBatchUpdateListeners(com.google.common.collect.ImmutableList<BatchUpdateListener> additionalListeners) Set additional listeners. These can be set again in each try (or will be reused if not overwritten).
 - 
executepublic void execute(Collection<BatchUpdate> updates) throws RestApiException, UpdateException Execute the batch updates, reporting to all the Submission and BatchUpdateListeners.- Throws:
- RestApiException
- UpdateException
 
 - 
afterExecutionspublic void afterExecutions(MergeOpRepoManager orm) Caller invokes this when done with the submission (either because everything succeeded or gave up retrying).
 
- 
 
-