Class SetPullRequestMergeConfigRequest

java.lang.Object
com.atlassian.bitbucket.pull.AbstractPullRequestMergeConfigRequest
com.atlassian.bitbucket.pull.SetPullRequestMergeConfigRequest

public class SetPullRequestMergeConfigRequest extends AbstractPullRequestMergeConfigRequest
Since:
4.9
  • Method Details

    • getCommitMessageTemplate

      @Nonnull public Optional<PullRequestCommitMessageTemplate> 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

      @Nonnull public String getDefaultStrategyId()
    • getEnabledStrategyIds

      @Nonnull public Set<String> getEnabledStrategyIds()
    • isUpdateCommitMessageTemplate

      public boolean isUpdateCommitMessageTemplate()
      Returns:
      true if the request updates the commit message template, false otherwise
      Since:
      8.12