@PublicApi
public interface ListenerManager
JiraListener
interface.Modifier and Type | Method and Description |
---|---|
JiraListener |
createListener(String name,
Class<? extends JiraListener> clazz)
Creates a new JiraListener.
|
void |
deleteListener(Class<? extends JiraListener> clazz)
Deletes any listeners of the given class.
|
Map<String,JiraListener> |
getListeners()
Returns a map of listeners.
|
void |
onRefreshListeners()
Invoked when another node in the cluster has refreshed its listeners.
|
void |
refresh()
Reloads the map of listeners from the db.
|
Map<String,JiraListener> getListeners()
JiraListener createListener(String name, Class<? extends JiraListener> clazz)
name
- The name of the Listenerclazz
- The class of the Listener.void deleteListener(Class<? extends JiraListener> clazz)
clazz
- The class of the Listener.void refresh()
void onRefreshListeners()
Copyright © 2002-2022 Atlassian. All Rights Reserved.