public static class ForkCommandParameters.Builder extends Object
| Constructor and Description |
|---|
Builder(com.atlassian.bitbucket.repository.Repository fork) |
| Modifier and Type | Method and Description |
|---|---|
ForkCommandParameters |
build() |
ForkCommandParameters.Builder |
defaultBranch(String value)
Specifies the default branch that should be set after the fork is created.
|
public Builder(@Nonnull com.atlassian.bitbucket.repository.Repository fork)
@Nonnull public ForkCommandParameters build()
@Nonnull public ForkCommandParameters.Builder defaultBranch(@Nullable String value)
value - the default branch name, or null to inherit the origin's default branchthisCopyright © 2022 Atlassian. All rights reserved.