Class UpdateDefaultBranchCommandParameters


public class UpdateDefaultBranchCommandParameters extends AbstractCommandParameters
Describes a branch to set as the default.

When updating the default branch, it is strongly encouraged to use the branch's ID rather than its display ID. Using the display ID may result in the update failing, or in the "wrong" branch being made the default.

Since:
4.6
  • Method Details

    • getBranchId

      @Nonnull public String getBranchId()
      Returns:
      retrieves the ID of the branch that should be set as the default