Class ApplyPatchPatchSetInput
java.lang.Object
com.google.gerrit.extensions.api.changes.ApplyPatchPatchSetInput
Information for creating a new patch set from a given patch.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIftrue
, the revision will be amended by the patch.The author of the new patch set.40-hex digit SHA-1 of the commit which will be the parent commit of the newly created patch set.The commit message for the new patch set.The patch to be applied. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
patch
The patch to be applied. -
commitMessage
The commit message for the new patch set. If not specified, a predefined message will be used. -
base
40-hex digit SHA-1 of the commit which will be the parent commit of the newly created patch set. If set, it must be a merged commit or a change revision on the destination branch. Otherwise, the target change's branch tip will be used. -
author
The author of the new patch set. Must include bothAccountInput.name
andAccountInput.email
fields. -
responseFormatOptions
-
amend
Iftrue
, the revision will be amended by the patch. This will use the tree of the revision, apply the patch and create a new commit whose tree is the resulting tree of the operation and whose parent(s) are the parent(s) of the revision.
-
-
Constructor Details
-
ApplyPatchPatchSetInput
public ApplyPatchPatchSetInput()
-