@InjectableComponent public class JqlIssueKeySupportImpl extends Object implements JqlIssueKeySupport
JqlIssueKeySupport interface.| Constructor and Description |
|---|
JqlIssueKeySupportImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidIssueKey(String issueKey)
Determines is the passed issue key is valid for JIRA.
|
long |
parseKeyNum(String issueKey)
Return the numeric part of the issue key.
|
String |
parseProjectKey(String issueKey)
Return the project key part of the issue key.
|
public boolean isValidIssueKey(String issueKey)
JqlIssueKeySupportisValidIssueKey in interface JqlIssueKeySupportissueKey - the issue key to validate. Null will be considered an invalid key.public long parseKeyNum(String issueKey)
JqlIssueKeySupportJqlIssueKeySupport.isValidIssueKey(String) method can be used to determine if a key is invalid
or not.parseKeyNum in interface JqlIssueKeySupportissueKey - the issue key to parse. A null key will return -1.public String parseProjectKey(String issueKey)
JqlIssueKeySupportJqlIssueKeySupport.isValidIssueKey(String) method can be used to determine if a key is invalid
or not.parseProjectKey in interface JqlIssueKeySupportissueKey - the issue key to parse. A null key will return null.Copyright © 2002-2023 Atlassian. All Rights Reserved.