Package com.atlassian.bitbucket.scm
Class UpdateDefaultBranchCommandParameters
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.UpdateDefaultBranchCommandParameters
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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK -
Method Summary
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Method Details
-
getBranchId
- Returns:
- retrieves the
IDof the branch that should be set as the default
-