Package com.atlassian.bitbucket.scm
Class ForkCommandParameters.Builder
java.lang.Object
com.atlassian.bitbucket.scm.ForkCommandParameters.Builder
- Enclosing class:
- ForkCommandParameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
defaultBranch
(String value) Specifies the default branch that should be set after the fork is created.
-
Constructor Details
-
Builder
public Builder(@Nonnull com.atlassian.bitbucket.repository.Repository fork)
-
-
Method Details
-
build
-
defaultBranch
Specifies 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, ornull
to inherit the origin's default branch- Returns:
this
- Since:
- 7.5
-