public class

JiraKeyUtilsAccesor

extends Object
java.lang.Object
   ↳ com.atlassian.jira.util.JiraKeyUtilsAccesor

Summary

Nested Classes
class JiraKeyUtilsAccesor.MockKeyMatcher  
class JiraKeyUtilsAccesor.MockProductionKeyMatcher  
Public Constructors
JiraKeyUtilsAccesor()
Public Methods
static JiraKeyUtils.KeyMatcher getCurrentKeyMatcher()
static void refreshKeyMatcherOnUtilClass()
This is a public static method to be called by test classes outside of this package.
static void resetKeyMatcher(String regex)
static void setKeyMatcher(JiraKeyUtils.KeyMatcher keyMatcher)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public JiraKeyUtilsAccesor ()

Public Methods

public static JiraKeyUtils.KeyMatcher getCurrentKeyMatcher ()

public static void refreshKeyMatcherOnUtilClass ()

This is a public static method to be called by test classes outside of this package.

It makes JiraKeyUtils recreate it's cached DefaultKeyMatcher class in order to pick up any changes to the application properties (for example, the project key regex)

public static void resetKeyMatcher (String regex)

public static void setKeyMatcher (JiraKeyUtils.KeyMatcher keyMatcher)