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.KeyMatcher
public boolean isKeyDetectionBackwardsCompatible()
isKeyDetectionBackwardsCompatible
in interface JiraKeyUtils.KeyMatcher
public String getLink(String key)
getLink
in interface JiraKeyUtils.KeyMatcher
public boolean isKeyInString(String s)
isKeyInString
in interface JiraKeyUtils.KeyMatcher
public String getProjectKeyRegex()
getProjectKeyRegex
in interface JiraKeyUtils.KeyMatcher
public String getIssueKeyRegex()
getIssueKeyRegex
in interface JiraKeyUtils.KeyMatcher
public boolean isValidIssueKey(String issueKey)
isValidIssueKey
in interface JiraKeyUtils.KeyMatcher
public boolean isValidProjectKey(String projectKey)
isValidProjectKey
in interface JiraKeyUtils.KeyMatcher
projectKey
- project keyCopyright © 2002-2022 Atlassian. All Rights Reserved.