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 TypeMethodDescriptionboolean
boolean
boolean
boolean
isValidIssueKey
(String issueKey) boolean
isValidProjectKey
(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:
isIgnoreUrlWithKey
in interfaceJiraKeyUtils.KeyMatcher
-
isKeyDetectionBackwardsCompatible
public boolean isKeyDetectionBackwardsCompatible()- Specified by:
isKeyDetectionBackwardsCompatible
in interfaceJiraKeyUtils.KeyMatcher
-
getLink
- Specified by:
getLink
in interfaceJiraKeyUtils.KeyMatcher
-
isKeyInString
- Specified by:
isKeyInString
in interfaceJiraKeyUtils.KeyMatcher
-
getProjectKeyRegex
- Specified by:
getProjectKeyRegex
in interfaceJiraKeyUtils.KeyMatcher
-
getIssueKeyRegex
- Specified by:
getIssueKeyRegex
in interfaceJiraKeyUtils.KeyMatcher
-
isValidIssueKey
- Specified by:
isValidIssueKey
in interfaceJiraKeyUtils.KeyMatcher
-
isValidProjectKey
Validates the given project key- Specified by:
isValidProjectKey
in interfaceJiraKeyUtils.KeyMatcher
- Parameters:
projectKey
- project key- Returns:
- true if valid, false otherwise
-