|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.util.JqlIssueKeySupportImpl
@InjectableComponent public class JqlIssueKeySupportImpl
Default implementation of the JqlIssueKeySupport
interface.
Constructor Summary | |
---|---|
JqlIssueKeySupportImpl()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JqlIssueKeySupportImpl()
Method Detail |
---|
public boolean isValidIssueKey(String issueKey)
JqlIssueKeySupport
isValidIssueKey
in interface JqlIssueKeySupport
issueKey
- the issue key to validate. Null will be considered an invalid key.
public long parseKeyNum(String issueKey)
JqlIssueKeySupport
JqlIssueKeySupport.isValidIssueKey(String)
method can be used to determine if a key is invalid
or not.
parseKeyNum
in interface JqlIssueKeySupport
issueKey
- the issue key to parse. A null key will return -1.
public String parseProjectKey(String issueKey)
JqlIssueKeySupport
JqlIssueKeySupport.isValidIssueKey(String)
method can be used to determine if a key is invalid
or not.
parseProjectKey
in interface JqlIssueKeySupport
issueKey
- the issue key to parse. A null key will return null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |