public class

RestPullRequestMergeRequest

extends RestMapEntity
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ java.util.HashMap<K, V>
       ↳ java.util.LinkedHashMap<K, V>
         ↳ com.atlassian.bitbucket.rest.RestMapEntity
           ↳ com.atlassian.bitbucket.rest.pull.RestPullRequestMergeRequest

Summary

Fields
public static final RestPullRequestMergeRequest MERGE_REQUEST_EXAMPLE
Public Constructors
RestPullRequestMergeRequest()
Public Methods
@Nonnull Map<StringObject> getContext()
@Nullable String getMessage()
@Nullable String getStrategyId()
int getVersion()
boolean hasVersion()
boolean isAutoSubject()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.rest.RestMapEntity
From class java.util.LinkedHashMap
From class java.util.HashMap
From class java.util.AbstractMap
From class java.lang.Object
From interface java.util.Map

Fields

public static final RestPullRequestMergeRequest MERGE_REQUEST_EXAMPLE

Public Constructors

public RestPullRequestMergeRequest ()

Public Methods

@Nonnull public Map<StringObject> getContext ()

@Nullable public String getMessage ()

Returns
  • the message to use for the merge commit

@Nullable public String getStrategyId ()

Returns
  • the requested merge strategy ID, which may be null if the default strategy should be used

public int getVersion ()

public boolean hasVersion ()

public boolean isAutoSubject ()

Returns
  • true if no message was provided, or if an auto-generated subject should be prepended to the message; otherwise, false to use the provided message as-is