Package com.atlassian.jira.util
Class JiraKeyUtilsAccesor.MockProductionKeyMatcher
java.lang.Object
com.atlassian.jira.util.JiraKeyUtilsAccesor.MockProductionKeyMatcher
- All Implemented Interfaces:
JiraKeyUtils.KeyMatcher
- Enclosing class:
- JiraKeyUtilsAccesor
-
Constructor Summary
ConstructorsConstructorDescriptionMockProductionKeyMatcher(String projectRegexp, ApplicationProperties applicationProperties, IssueManager issueManager) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanisValidIssueKey(String issueKey) booleanisValidProjectKey(String projectKey) Validates the given project key
-
Constructor Details
-
MockProductionKeyMatcher
public MockProductionKeyMatcher(String projectRegexp, ApplicationProperties applicationProperties, IssueManager issueManager)
-
-
Method Details
-
isIgnoreUrlWithKey
public boolean isIgnoreUrlWithKey()- Specified by:
isIgnoreUrlWithKeyin interfaceJiraKeyUtils.KeyMatcher
-
isKeyDetectionBackwardsCompatible
public boolean isKeyDetectionBackwardsCompatible()- Specified by:
isKeyDetectionBackwardsCompatiblein interfaceJiraKeyUtils.KeyMatcher
-
getLink
- Specified by:
getLinkin interfaceJiraKeyUtils.KeyMatcher
-
isKeyInString
- Specified by:
isKeyInStringin interfaceJiraKeyUtils.KeyMatcher
-
getProjectKeyRegex
- Specified by:
getProjectKeyRegexin interfaceJiraKeyUtils.KeyMatcher
-
getIssueKeyRegex
- Specified by:
getIssueKeyRegexin interfaceJiraKeyUtils.KeyMatcher
-
isValidIssueKey
- Specified by:
isValidIssueKeyin interfaceJiraKeyUtils.KeyMatcher
-
isValidProjectKey
Validates the given project key- Specified by:
isValidProjectKeyin interfaceJiraKeyUtils.KeyMatcher- Parameters:
projectKey- project key- Returns:
- true if valid, false otherwise
-