public class JiraKeyUtilsAccesor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JiraKeyUtilsAccesor.MockKeyMatcher |
static class |
JiraKeyUtilsAccesor.MockProductionKeyMatcher |
Constructor and Description |
---|
JiraKeyUtilsAccesor() |
Modifier and Type | Method and Description |
---|---|
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) |
public static void refreshKeyMatcherOnUtilClass()
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 JiraKeyUtils.KeyMatcher getCurrentKeyMatcher()
public static void setKeyMatcher(JiraKeyUtils.KeyMatcher keyMatcher)
public static void resetKeyMatcher(String regex)
Copyright © 2002-2017 Atlassian. All Rights Reserved.