public abstract class ChangeRebuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ChangeRebuilder.NoPatchSetsException |
Modifier | Constructor and Description |
---|---|
protected |
ChangeRebuilder(com.google.gwtorm.server.SchemaFactory<com.google.gerrit.reviewdb.server.ReviewDb> schemaFactory) |
Modifier and Type | Method and Description |
---|---|
abstract NoteDbUpdateManager.Result |
execute(com.google.gerrit.reviewdb.server.ReviewDb db,
com.google.gerrit.reviewdb.client.Change.Id changeId,
NoteDbUpdateManager manager) |
abstract NoteDbUpdateManager.Result |
rebuild(NoteDbUpdateManager manager,
ChangeBundle bundle) |
abstract NoteDbUpdateManager.Result |
rebuild(com.google.gerrit.reviewdb.server.ReviewDb db,
com.google.gerrit.reviewdb.client.Change.Id changeId) |
com.google.common.util.concurrent.ListenableFuture<NoteDbUpdateManager.Result> |
rebuildAsync(com.google.gerrit.reviewdb.client.Change.Id id,
com.google.common.util.concurrent.ListeningExecutorService executor) |
abstract boolean |
rebuildProject(com.google.gerrit.reviewdb.server.ReviewDb db,
com.google.common.collect.ImmutableMultimap<com.google.gerrit.reviewdb.client.Project.NameKey,com.google.gerrit.reviewdb.client.Change.Id> allChanges,
com.google.gerrit.reviewdb.client.Project.NameKey project,
org.eclipse.jgit.lib.Repository allUsersRepo) |
abstract NoteDbUpdateManager |
stage(com.google.gerrit.reviewdb.server.ReviewDb db,
com.google.gerrit.reviewdb.client.Change.Id changeId) |
protected ChangeRebuilder(com.google.gwtorm.server.SchemaFactory<com.google.gerrit.reviewdb.server.ReviewDb> schemaFactory)
public final com.google.common.util.concurrent.ListenableFuture<NoteDbUpdateManager.Result> rebuildAsync(com.google.gerrit.reviewdb.client.Change.Id id, com.google.common.util.concurrent.ListeningExecutorService executor)
public abstract NoteDbUpdateManager.Result rebuild(com.google.gerrit.reviewdb.server.ReviewDb db, com.google.gerrit.reviewdb.client.Change.Id changeId) throws NoSuchChangeException, java.io.IOException, com.google.gwtorm.server.OrmException, org.eclipse.jgit.errors.ConfigInvalidException
NoSuchChangeException
java.io.IOException
com.google.gwtorm.server.OrmException
org.eclipse.jgit.errors.ConfigInvalidException
public abstract NoteDbUpdateManager.Result rebuild(NoteDbUpdateManager manager, ChangeBundle bundle) throws NoSuchChangeException, java.io.IOException, com.google.gwtorm.server.OrmException, org.eclipse.jgit.errors.ConfigInvalidException
NoSuchChangeException
java.io.IOException
com.google.gwtorm.server.OrmException
org.eclipse.jgit.errors.ConfigInvalidException
public abstract boolean rebuildProject(com.google.gerrit.reviewdb.server.ReviewDb db, com.google.common.collect.ImmutableMultimap<com.google.gerrit.reviewdb.client.Project.NameKey,com.google.gerrit.reviewdb.client.Change.Id> allChanges, com.google.gerrit.reviewdb.client.Project.NameKey project, org.eclipse.jgit.lib.Repository allUsersRepo) throws NoSuchChangeException, java.io.IOException, com.google.gwtorm.server.OrmException, org.eclipse.jgit.errors.ConfigInvalidException
NoSuchChangeException
java.io.IOException
com.google.gwtorm.server.OrmException
org.eclipse.jgit.errors.ConfigInvalidException
public abstract NoteDbUpdateManager stage(com.google.gerrit.reviewdb.server.ReviewDb db, com.google.gerrit.reviewdb.client.Change.Id changeId) throws NoSuchChangeException, java.io.IOException, com.google.gwtorm.server.OrmException
NoSuchChangeException
java.io.IOException
com.google.gwtorm.server.OrmException
public abstract NoteDbUpdateManager.Result execute(com.google.gerrit.reviewdb.server.ReviewDb db, com.google.gerrit.reviewdb.client.Change.Id changeId, NoteDbUpdateManager manager) throws NoSuchChangeException, com.google.gwtorm.server.OrmException, java.io.IOException
NoSuchChangeException
com.google.gwtorm.server.OrmException
java.io.IOException