Package com.atlassian.bitbucket.scm
Class ForkCommandParameters.Builder
java.lang.Object
com.atlassian.bitbucket.scm.ForkCommandParameters.Builder
- Enclosing class:
- ForkCommandParameters
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()defaultBranch(String value) Specifies the default branch that should be set after the fork is created.
- 
Constructor Details- 
Builderpublic Builder(@Nonnull com.atlassian.bitbucket.repository.Repository fork) 
 
- 
- 
Method Details- 
build
- 
defaultBranchSpecifies the default branch that should be set after the fork is created. If no default branch is specified, the fork will inherit its origin's default branch.- Parameters:
- value- the default branch name, or- nullto inherit the origin's default branch
- Returns:
- this
- Since:
- 7.5
 
 
-