Interface PullRequestCommitMessageTemplate


public interface PullRequestCommitMessageTemplate
Holds the configured commit message template. The template may contain variable placeholders.
Since:
8.12
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The maximum length of the body
    static final int
    The maximum length of the title
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
  • Field Details

    • MAX_BODY_LENGTH

      static final int MAX_BODY_LENGTH
      The maximum length of the body
      See Also:
    • MAX_TITLE_LENGTH

      static final int MAX_TITLE_LENGTH
      The maximum length of the title
      See Also:
  • Method Details

    • getBody

      @Nonnull String getBody()
      Returns:
      the body for the commit message template; the body can be an empty string, no variables have been substituted
    • getTitle

      @Nonnull String getTitle()
      Returns:
      the title for the commit message template; the title will be a non-empty string, no variables have been substituted