com.atlassian.jira.event
Class EventListeners

java.lang.Object
  extended by com.atlassian.jira.event.EventListeners

public class EventListeners
extends Object

Utility class for operating on event listeners.

Since:
4.4

Constructor Summary
EventListeners()
           
 
Method Summary
static boolean has(Class<?> listenerClass, Class<?> eventClass)
          Returns true iff the listener class has a handler for the event class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListeners

public EventListeners()
Method Detail

has

public static boolean has(Class<?> listenerClass,
                          Class<?> eventClass)
Returns true iff the listener class has a handler for the event class.

Parameters:
listenerClass - the Class of the listener
eventClass - the Class of the event
Returns:
a boolean indicating whether the listener class has a handler for the event class


Copyright © 2002-2012 Atlassian. All Rights Reserved.