public static class

JiraKeyUtilsAccesor.MockProductionKeyMatcher

extends Object
implements JiraKeyUtils.KeyMatcher
java.lang.Object
   ↳ com.atlassian.jira.util.JiraKeyUtilsAccesor.MockProductionKeyMatcher

Summary

Public Constructors
MockProductionKeyMatcher(String projectRegexp, ApplicationProperties applicationProperties, IssueManager issueManager)
Public Methods
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
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.util.JiraKeyUtils.KeyMatcher

Public Constructors

public MockProductionKeyMatcher (String projectRegexp, ApplicationProperties applicationProperties, IssueManager issueManager)

Public Methods

public String getIssueKeyRegex ()

public String getLink (String key)

public String getProjectKeyRegex ()

public boolean isIgnoreUrlWithKey ()

public boolean isKeyDetectionBackwardsCompatible ()

public boolean isKeyInString (String s)

public boolean isValidIssueKey (String issueKey)

public boolean isValidProjectKey (String projectKey)

Validates the given project key

Parameters
projectKey project key
Returns
  • true if valid, false otherwise