com.atlassian.jira.util
Class JiraKeyUtilsAccesor.MockKeyMatcher
java.lang.Object
com.atlassian.jira.util.JiraKeyUtilsAccesor.MockKeyMatcher
- All Implemented Interfaces:
- JiraKeyUtils.KeyMatcher
- Enclosing class:
- JiraKeyUtilsAccesor
public static class JiraKeyUtilsAccesor.MockKeyMatcher
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraKeyUtilsAccesor.MockKeyMatcher
public JiraKeyUtilsAccesor.MockKeyMatcher(String projectRegex)
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
isIgnoreUrlWithKey
public boolean isIgnoreUrlWithKey()
- Specified by:
isIgnoreUrlWithKey
in interface JiraKeyUtils.KeyMatcher
isKeyDetectionBackwardsCompatible
public boolean isKeyDetectionBackwardsCompatible()
- Specified by:
isKeyDetectionBackwardsCompatible
in interface JiraKeyUtils.KeyMatcher
getLink
public String getLink(String key)
- Specified by:
getLink
in interface JiraKeyUtils.KeyMatcher
Copyright © 2002-2013 Atlassian. All Rights Reserved.