public class

EventListeners

extends Object
java.lang.Object
   ↳ com.atlassian.jira.event.EventListeners

Class Overview

Utility class for operating on event listeners.

Summary

Public Constructors
EventListeners()
Public Methods
static boolean has(Class<?> listenerClass, Class<?> eventClass)
Returns true iff the listener class has a handler for the event class.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EventListeners ()

Public Methods

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