Interface DeleteBranchBuilder

All Superinterfaces:
OnBranchBuilder<DeleteBranchBuilder>

public interface DeleteBranchBuilder extends OnBranchBuilder<DeleteBranchBuilder>
Request builder for "delete branch".
Since:
NessieApiV1
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.projectnessie.model.Branch
    Deletes the branch and returns its information as it was just before deletion.

    Methods inherited from interface org.projectnessie.client.api.OnBranchBuilder

    branch, branchName, hash
  • Method Details

    • delete

      void delete() throws org.projectnessie.error.NessieConflictException, org.projectnessie.error.NessieNotFoundException
      Throws:
      org.projectnessie.error.NessieConflictException
      org.projectnessie.error.NessieNotFoundException
    • getAndDelete

      org.projectnessie.model.Branch getAndDelete() throws org.projectnessie.error.NessieNotFoundException, org.projectnessie.error.NessieConflictException
      Deletes the branch and returns its information as it was just before deletion.
      Throws:
      org.projectnessie.error.NessieNotFoundException
      org.projectnessie.error.NessieConflictException
      Since:
      NessieApiV2