public static class JiraKeyUtilsAccesor.MockProductionKeyMatcher extends Object
| Constructor and Description |
|---|
MockProductionKeyMatcher(String projectRegexp,
ApplicationProperties applicationProperties,
IssueManager issueManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIssueKeyRegex() |
String |
getLink(String key) |
String |
getProjectKeyRegex() |
boolean |
isIgnoreUrlWithKey() |
boolean |
isKeyDetectionBackwardsCompatible() |
boolean |
isKeyInString(String s) |
boolean |
isValidIssueKey(String issueKey) |
boolean |
isValidProjectKey(String projectKey)
Validates the given project key
|
public MockProductionKeyMatcher(String projectRegexp, ApplicationProperties applicationProperties, IssueManager issueManager)
public boolean isIgnoreUrlWithKey()
isIgnoreUrlWithKey in interface JiraKeyUtils.KeyMatcherpublic boolean isKeyDetectionBackwardsCompatible()
isKeyDetectionBackwardsCompatible in interface JiraKeyUtils.KeyMatcherpublic String getLink(String key)
getLink in interface JiraKeyUtils.KeyMatcherpublic boolean isKeyInString(String s)
isKeyInString in interface JiraKeyUtils.KeyMatcherpublic String getProjectKeyRegex()
getProjectKeyRegex in interface JiraKeyUtils.KeyMatcherpublic String getIssueKeyRegex()
getIssueKeyRegex in interface JiraKeyUtils.KeyMatcherpublic boolean isValidIssueKey(String issueKey)
isValidIssueKey in interface JiraKeyUtils.KeyMatcherpublic boolean isValidProjectKey(String projectKey)
isValidProjectKey in interface JiraKeyUtils.KeyMatcherprojectKey - project keyCopyright © 2002-2023 Atlassian. All Rights Reserved.