com.atlassian.jira.event.listeners
Class ProjectKeyRegexChangeListener

java.lang.Object
  extended by com.atlassian.jira.event.listeners.ProjectKeyRegexChangeListener
All Implemented Interfaces:
Startable

public class ProjectKeyRegexChangeListener
extends Object
implements Startable

Listens for ApplicationPropertyChangeEvent events in case the project key regex changes and resets the key matcher accordingly.

Since:
v4.4

Constructor Summary
ProjectKeyRegexChangeListener(com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
static void onApplicationPropertyChange(ApplicationPropertyChangeEvent event)
           
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectKeyRegexChangeListener

public ProjectKeyRegexChangeListener(com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail

onApplicationPropertyChange

@EventListener
public static void onApplicationPropertyChange(ApplicationPropertyChangeEvent event)

start

public void start()
           throws Exception
Description copied from interface: Startable
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Specified by:
start in interface Startable
Throws:
Exception - Allows implementations to throw an Exception.


Copyright © 2002-2012 Atlassian. All Rights Reserved.