Class RebaseInput
- java.lang.Object
-
- com.google.gerrit.extensions.api.changes.RebaseInput
-
public class RebaseInput extends Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
allowConflicts
Whether the rebase should succeed if there are conflicts.String
base
boolean
onBehalfOfUploader
Whether the rebase should be done on behalf of the uploader.Map<String,String>
validationOptions
-
Constructor Summary
Constructors Constructor Description RebaseInput()
-
-
-
Field Detail
-
base
public String base
-
allowConflicts
public boolean allowConflicts
Whether the rebase should succeed if there are conflicts.If there are conflicts the file contents of the rebased change contain git conflict markers to indicate the conflicts.
-
onBehalfOfUploader
public boolean onBehalfOfUploader
Whether the rebase should be done on behalf of the uploader.This means the uploader of the current patch set will also be the uploader of the rebased patch set. The calling user will be recorded as the real user.
Rebasing on behalf of the uploader is only supported for trivial rebases. This means this option cannot be combined with the
allowConflicts
option.In addition, rebasing on behalf of the uploader is only supported for the current patch set of a change and not when rebasing a chain.
Using this option is not supported when rebasing a chain via the Rebase Chain REST endpoint.
-
-