Class SimplePullRequestMergeHookRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.hook.repository.AbstractRepositoryHookRequest.AbstractBuilder<SimplePullRequestMergeHookRequest.Builder>
com.atlassian.bitbucket.hook.repository.SimplePullRequestMergeHookRequest.Builder
- Enclosing class:
- SimplePullRequestMergeHookRequest
public static class SimplePullRequestMergeHookRequest.Builder
extends AbstractRepositoryHookRequest.AbstractBuilder<SimplePullRequestMergeHookRequest.Builder>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
ConstructorDescriptionBuilder
(PullRequest pullRequest) Builder
(PullRequest pullRequest, boolean abortOnFirstVeto) -
Method Summary
Modifier and TypeMethodDescriptionautoMerge
(boolean value) build()
self()
strategyId
(String value) Methods inherited from class com.atlassian.bitbucket.hook.repository.AbstractRepositoryHookRequest.AbstractBuilder
context, context, dryRun
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
-
Builder
- Parameters:
pullRequest
- the pull request for which the hook request needs to be createdabortOnFirstVeto
- set this totrue
to indicate to the system to not invoke any morerepository-hooks
after aveto
is received from one of the hooks- Since:
- 8.13
-
-
Method Details
-
autoMerge
- Since:
- 9.5
-
build
-
mergeHash
-
message
-
strategyId
- Parameters:
value
- the new value- Returns:
this
- Since:
- 5.5
-
self
- Specified by:
self
in classAbstractRepositoryHookRequest.AbstractBuilder<SimplePullRequestMergeHookRequest.Builder>
-