Interface TransplantCommitsBuilder

All Superinterfaces:
MergeTransplantBuilder<TransplantCommitsBuilder>, OnBranchBuilder<TransplantCommitsBuilder>
All Known Implementing Classes:
BaseTransplantCommitsBuilder

public interface TransplantCommitsBuilder extends MergeTransplantBuilder<TransplantCommitsBuilder>
Request builder for "transplant commits".
Since:
NessieApiV1
  • Method Details

    • message

      TransplantCommitsBuilder message(String message)
      Sets an override for the transplanted commit message. If an override is not set, messages from the original commits are reused during transplanting.

      Note: The message override is ignored when more than one commit is transplanted without squashing. In other words, the message override is effective only when exactly one commit is produced on the target branch.

      Specified by:
      message in interface MergeTransplantBuilder<TransplantCommitsBuilder>
    • hashesToTransplant

      TransplantCommitsBuilder hashesToTransplant(@NotNull @NotNull @Size @Size(min=1) @NotNull @NotNull @Size @Size(min=1) List<String> hashesToTransplant)
    • transplant

      org.projectnessie.model.MergeResponse transplant() throws org.projectnessie.error.NessieNotFoundException, org.projectnessie.error.NessieConflictException
      Throws:
      org.projectnessie.error.NessieNotFoundException
      org.projectnessie.error.NessieConflictException