public enum PullRequestCommitMessageTemplateVariable extends Enum<PullRequestCommitMessageTemplateVariable>
PullRequestCommitMessageTemplate| Enum Constant and Description |
|---|
APPROVERS
Comma separated list of names of people that approved.
|
CROSS_REPO_PR_REPO
If the pull request is a cross repository pull request this variable contains the source project and repository slug.
|
DESCRIPTION
The pull request description
|
FROM_PROJECT_KEY
The project key for the source project
|
FROM_REF_NAME
The name of the ref (branch/tag) to merge changes from
|
FROM_REPO_SLUG
The slug of the source repository
|
ID
The pull request ID
|
TITLE
Pull request title
|
TO_PROJECT_KEY
The project key for the target project
|
TO_REF_NAME
The name of the ref (branch) to merge changes into
|
TO_REPO_SLUG
The slug of the target repository
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getVariable() |
String |
toString()
The format of the returned String is not considered stable and may change from release to release.
|
static PullRequestCommitMessageTemplateVariable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PullRequestCommitMessageTemplateVariable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullRequestCommitMessageTemplateVariable APPROVERS
public static final PullRequestCommitMessageTemplateVariable ID
public static final PullRequestCommitMessageTemplateVariable CROSS_REPO_PR_REPO
If it is not a cross repository pull request this variable resolves to an empty string
public static final PullRequestCommitMessageTemplateVariable DESCRIPTION
public static final PullRequestCommitMessageTemplateVariable FROM_PROJECT_KEY
public static final PullRequestCommitMessageTemplateVariable FROM_REF_NAME
public static final PullRequestCommitMessageTemplateVariable FROM_REPO_SLUG
public static final PullRequestCommitMessageTemplateVariable TITLE
public static final PullRequestCommitMessageTemplateVariable TO_PROJECT_KEY
public static final PullRequestCommitMessageTemplateVariable TO_REF_NAME
public static final PullRequestCommitMessageTemplateVariable TO_REPO_SLUG
public static PullRequestCommitMessageTemplateVariable[] values()
for (PullRequestCommitMessageTemplateVariable c : PullRequestCommitMessageTemplateVariable.values()) System.out.println(c);
public static PullRequestCommitMessageTemplateVariable valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public String getVariable()
public String toString()
getName() and getVariable() instead.toString in class Enum<PullRequestCommitMessageTemplateVariable>Copyright © 2023 Atlassian. All rights reserved.