Package com.atlassian.bitbucket.pull
Class SetPullRequestMergeConfigRequest
java.lang.Object
com.atlassian.bitbucket.pull.AbstractPullRequestMergeConfigRequest
com.atlassian.bitbucket.pull.SetPullRequestMergeConfigRequest
- Since:
- 4.9
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestMergeConfigRequest
AbstractPullRequestMergeConfigRequest.AbstractBuilder<B extends AbstractPullRequestMergeConfigRequest.AbstractBuilder<B,
R>, R extends AbstractPullRequestMergeConfigRequest> -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Methods inherited from class com.atlassian.bitbucket.pull.AbstractPullRequestMergeConfigRequest
getProject, getRepository, getScmId
-
Method Details
-
getCommitMessageTemplate
- Returns:
- The commit message template if specified,
Optional.empty()
otherwise - Since:
- 8.12
-
getCommitSummaries
public int getCommitSummaries()- Returns:
- the number of commit summaries to append to the user-provided (or system-generated) message when
merging a pull request, which may be
0
to omit summaries - Since:
- 6.7
-
getDefaultStrategyId
-
getEnabledStrategyIds
-
isUpdateCommitMessageTemplate
public boolean isUpdateCommitMessageTemplate()- Returns:
true
if the request updates the commit message template,false
otherwise- Since:
- 8.12
-