Interface TransplantCommitsBuilder

    • Method Detail

      • message

        TransplantCommitsBuilder message​(java.lang.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 @Size(min=1)
                                                    @NotNull @Size(min=1) java.util.List<java.lang.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