Class ApplyPatchPatchSetInput

java.lang.Object
com.google.gerrit.extensions.api.changes.ApplyPatchPatchSetInput

public class ApplyPatchPatchSetInput extends Object
Information for creating a new patch set from a given patch.
  • Field Details

    • patch

      public ApplyPatchInput patch
      The patch to be applied.
    • commitMessage

      public String commitMessage
      The commit message for the new patch set. If not specified, a predefined message will be used.
    • base

      public String 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

      public AccountInput author
      The author of the new patch set. Must include both AccountInput.name and AccountInput.email fields.
    • responseFormatOptions

      public List<ListChangesOption> responseFormatOptions
    • amend

      public Boolean amend
      If true, 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()