Package org.projectnessie.client.api
Interface AssignBranchBuilder
-
- All Superinterfaces:
OnBranchBuilder<AssignBranchBuilder>
- All Known Implementing Classes:
BaseAssignBranchBuilder
public interface AssignBranchBuilder extends OnBranchBuilder<AssignBranchBuilder>
Request builder for "assign branch".- Since:
NessieApiV1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidassign()org.projectnessie.model.BranchassignAndGet()Assigns the branch to the specified hash and returns its updated information.AssignBranchBuilderassignTo(@Valid @Valid @NotNull @NotNull org.projectnessie.model.Reference assignTo)-
Methods inherited from interface org.projectnessie.client.api.OnBranchBuilder
branch, branchName, hash
-
-
-
-
Method Detail
-
assignTo
AssignBranchBuilder assignTo(@Valid @Valid @NotNull @NotNull @Valid @Valid @NotNull @NotNull org.projectnessie.model.Reference assignTo)
-
assign
void assign() throws org.projectnessie.error.NessieNotFoundException, org.projectnessie.error.NessieConflictException- Throws:
org.projectnessie.error.NessieNotFoundExceptionorg.projectnessie.error.NessieConflictException
-
assignAndGet
org.projectnessie.model.Branch assignAndGet() throws org.projectnessie.error.NessieNotFoundException, org.projectnessie.error.NessieConflictExceptionAssigns the branch to the specified hash and returns its updated information.- Throws:
org.projectnessie.error.NessieNotFoundExceptionorg.projectnessie.error.NessieConflictException- Since:
NessieApiV2
-
-