Package org.projectnessie.client.api
Interface DeleteBranchBuilder
- All Superinterfaces:
OnBranchBuilder<DeleteBranchBuilder>
Request builder for "delete branch".
- Since:
NessieApiV1
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()org.projectnessie.model.BranchDeletes 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.NessieConflictExceptionorg.projectnessie.error.NessieNotFoundException
-
getAndDelete
org.projectnessie.model.Branch getAndDelete() throws org.projectnessie.error.NessieNotFoundException, org.projectnessie.error.NessieConflictExceptionDeletes the branch and returns its information as it was just before deletion.- Throws:
org.projectnessie.error.NessieNotFoundExceptionorg.projectnessie.error.NessieConflictException- Since:
NessieApiV2
-