public static class SetPullRequestMergeConfigRequest.Builder extends AbstractPullRequestMergeConfigRequest.AbstractBuilder<SetPullRequestMergeConfigRequest.Builder,SetPullRequestMergeConfigRequest>
NOT_BLANK
Constructor and Description |
---|
Builder(Project project,
String scmId) |
Builder(Repository repository) |
Builder(String scmId) |
Modifier and Type | Method and Description |
---|---|
SetPullRequestMergeConfigRequest |
build() |
SetPullRequestMergeConfigRequest.Builder |
commitSummaries(int value) |
SetPullRequestMergeConfigRequest.Builder |
defaultStrategyId(String value) |
SetPullRequestMergeConfigRequest.Builder |
enabledStrategyId(String value) |
SetPullRequestMergeConfigRequest.Builder |
enabledStrategyIds(Iterable<String> values) |
protected SetPullRequestMergeConfigRequest.Builder |
self() |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull Repository repository)
@Nonnull public SetPullRequestMergeConfigRequest build()
@Nonnull public SetPullRequestMergeConfigRequest.Builder commitSummaries(int value)
value
- the number of commit summaries to append to the user-supplied (or system-generated) message
when merging a pull request, which may be 0
to omit summariesthis
@Nonnull public SetPullRequestMergeConfigRequest.Builder defaultStrategyId(@Nonnull String value)
@Nonnull public SetPullRequestMergeConfigRequest.Builder enabledStrategyId(@Nonnull String value)
@Nonnull public SetPullRequestMergeConfigRequest.Builder enabledStrategyIds(@Nonnull Iterable<String> values)
@Nonnull protected SetPullRequestMergeConfigRequest.Builder self()
Copyright © 2019 Atlassian. All rights reserved.