public class RebaseChangeOp extends BatchUpdate.Op
Modifier and Type | Class and Description |
---|---|
static interface |
RebaseChangeOp.Factory |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.reviewdb.client.PatchSet |
getPatchSet() |
void |
postUpdate(BatchUpdate.Context ctx) |
RebaseChangeOp |
setCommitterIdent(org.eclipse.jgit.lib.PersonIdent committerIdent) |
RebaseChangeOp |
setForceContentMerge(boolean forceContentMerge) |
RebaseChangeOp |
setRunHooks(boolean runHooks) |
RebaseChangeOp |
setValidatePolicy(CommitValidators.Policy validate) |
void |
updateChange(BatchUpdate.ChangeContext ctx) |
void |
updateRepo(BatchUpdate.RepoContext ctx) |
public RebaseChangeOp setCommitterIdent(org.eclipse.jgit.lib.PersonIdent committerIdent)
public RebaseChangeOp setValidatePolicy(CommitValidators.Policy validate)
public RebaseChangeOp setRunHooks(boolean runHooks)
public RebaseChangeOp setForceContentMerge(boolean forceContentMerge)
public void updateRepo(BatchUpdate.RepoContext ctx) throws com.google.gerrit.extensions.restapi.MergeConflictException, InvalidChangeOperationException, com.google.gerrit.extensions.restapi.RestApiException, java.io.IOException, com.google.gwtorm.server.OrmException
updateRepo
in class BatchUpdate.Op
com.google.gerrit.extensions.restapi.MergeConflictException
InvalidChangeOperationException
com.google.gerrit.extensions.restapi.RestApiException
java.io.IOException
com.google.gwtorm.server.OrmException
public void updateChange(BatchUpdate.ChangeContext ctx) throws com.google.gwtorm.server.OrmException, InvalidChangeOperationException
updateChange
in class BatchUpdate.Op
com.google.gwtorm.server.OrmException
InvalidChangeOperationException
public void postUpdate(BatchUpdate.Context ctx) throws com.google.gwtorm.server.OrmException
postUpdate
in class BatchUpdate.Op
com.google.gwtorm.server.OrmException
public com.google.gerrit.reviewdb.client.PatchSet getPatchSet()