com.atlassian.jira.util
Class JiraKeyUtils.DefaultKeyMatcher
java.lang.Object
com.atlassian.jira.util.JiraKeyUtils.DefaultKeyMatcher
- All Implemented Interfaces:
- JiraKeyUtils.KeyMatcher
- Enclosing class:
- JiraKeyUtils
static class JiraKeyUtils.DefaultKeyMatcher
- extends Object
- implements JiraKeyUtils.KeyMatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraKeyUtils.DefaultKeyMatcher
public JiraKeyUtils.DefaultKeyMatcher()
isKeyInString
public boolean isKeyInString(String s)
- Specified by:
isKeyInString
in interface JiraKeyUtils.KeyMatcher
getProjectKeyRegex
public String getProjectKeyRegex()
- Specified by:
getProjectKeyRegex
in interface JiraKeyUtils.KeyMatcher
getIssueKeyRegex
public String getIssueKeyRegex()
- Specified by:
getIssueKeyRegex
in interface JiraKeyUtils.KeyMatcher
isValidIssueKey
public boolean isValidIssueKey(String issueKey)
- Specified by:
isValidIssueKey
in interface JiraKeyUtils.KeyMatcher
isValidProjectKey
public boolean isValidProjectKey(String projectKey)
- Validates the given project key
- Specified by:
isValidProjectKey
in interface JiraKeyUtils.KeyMatcher
- Parameters:
projectKey
- project key
- Returns:
- true if valid, false otherwise
Copyright © 2002-2007 Atlassian. All Rights Reserved.