public static class SimplePullRequestMergeHookRequest.Builder extends AbstractRepositoryHookRequest.AbstractBuilder<SimplePullRequestMergeHookRequest.Builder>
NOT_BLANK
Constructor and Description |
---|
Builder(PullRequest pullRequest) |
Modifier and Type | Method and Description |
---|---|
SimplePullRequestMergeHookRequest |
build() |
SimplePullRequestMergeHookRequest.Builder |
mergeHash(String value) |
SimplePullRequestMergeHookRequest.Builder |
message(String value) |
protected SimplePullRequestMergeHookRequest.Builder |
self() |
SimplePullRequestMergeHookRequest.Builder |
strategyId(String value) |
context, context, dryRun
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull PullRequest pullRequest)
@Nonnull public SimplePullRequestMergeHookRequest build()
@Nonnull public SimplePullRequestMergeHookRequest.Builder mergeHash(@Nullable String value)
@Nonnull public SimplePullRequestMergeHookRequest.Builder message(@Nullable String value)
@Nonnull public SimplePullRequestMergeHookRequest.Builder strategyId(@Nullable String value)
value
- the new valuethis
@Nonnull protected SimplePullRequestMergeHookRequest.Builder self()
self
in class AbstractRepositoryHookRequest.AbstractBuilder<SimplePullRequestMergeHookRequest.Builder>
Copyright © 2022 Atlassian. All rights reserved.