Class ApplyPatchInput

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

public class ApplyPatchInput extends Object
Information about a patch to apply.
  • Field Details

    • patch

      public String patch
      Required. The patch to be applied.

      Must be compatible with `git diff` output. For example, Gerrit API `Get Patch` output.

    • allowConflicts

      public Boolean allowConflicts
      If true, the operation will succeed if a conflict is detected. Conflict markers will be added to the conflicting files.
  • Constructor Details

    • ApplyPatchInput

      public ApplyPatchInput()