Interface AssignBranchBuilder

All Superinterfaces:
OnBranchBuilder<AssignBranchBuilder>

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

    Modifier and Type
    Method
    Description
    void
     
    org.projectnessie.model.Branch
    Assigns the branch to the specified hash and returns its updated information.
    assignTo(@Valid @Valid @NotNull @NotNull org.projectnessie.model.Reference assignTo)
     

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

    branch, branchName, hash
  • Method Details

    • 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.NessieNotFoundException
      org.projectnessie.error.NessieConflictException
    • assignAndGet

      org.projectnessie.model.Branch assignAndGet() throws org.projectnessie.error.NessieNotFoundException, org.projectnessie.error.NessieConflictException
      Assigns the branch to the specified hash and returns its updated information.
      Throws:
      org.projectnessie.error.NessieNotFoundException
      org.projectnessie.error.NessieConflictException
      Since:
      NessieApiV2