Package org.projectnessie.client.api
Interface DeleteBranchBuilder
-
- All Superinterfaces:
OnBranchBuilder<DeleteBranchBuilder>
public interface DeleteBranchBuilder extends OnBranchBuilder<DeleteBranchBuilder>
Request builder for "delete branch".- Since:
NessieApiV1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete()org.projectnessie.model.BranchgetAndDelete()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 Detail
-
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
-
-