Class JiraKeyUtilsAccesor

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

public class JiraKeyUtilsAccesor extends Object
  • Constructor Details

    • JiraKeyUtilsAccesor

      public JiraKeyUtilsAccesor()
  • Method Details

    • refreshKeyMatcherOnUtilClass

      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)

    • getCurrentKeyMatcher

      public static JiraKeyUtils.KeyMatcher getCurrentKeyMatcher()
    • setKeyMatcher

      public static void setKeyMatcher(JiraKeyUtils.KeyMatcher keyMatcher)
    • resetKeyMatcher

      public static void resetKeyMatcher(String regex)