Package com.atlassian.bitbucket.pull
Interface PullRequestCommitMessageTemplate
public interface PullRequestCommitMessageTemplate
Holds the configured commit message template. The template may contain variable placeholders.
- Since:
- 8.12
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The maximum length of the bodystatic final int
The maximum length of the title -
Method Summary
-
Field Details
-
MAX_BODY_LENGTH
static final int MAX_BODY_LENGTHThe maximum length of the body- See Also:
-
MAX_TITLE_LENGTH
static final int MAX_TITLE_LENGTHThe maximum length of the title- See Also:
-
-
Method Details
-
getBody
- Returns:
- the body for the commit message template; the body can be an empty string, no variables have been substituted
-
getTitle
- Returns:
- the title for the commit message template; the title will be a non-empty string, no variables have been substituted
-