public class ReflectNotifier extends Object implements EventNotifier, Comparator<ReflectNotifier>
Modifier and Type | Method and Description |
---|---|
int |
compare(ReflectNotifier registeredListener,
ReflectNotifier t1) |
Class<? extends Event> |
eventType()
Obtains the class of the event type that this notifier will be calling listeners for
|
void |
handle(Event event)
Notifies the listener
|
Importance |
importance()
Obtains the importance of the event listener
|
int |
index() |
Listener |
listener()
Obtains the instance of the listener which was registered
|
com.esotericsoftware.reflectasm.MethodAccess |
method() |
Plugin |
plugin()
Obtains the plugin that contains the event listener
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public com.esotericsoftware.reflectasm.MethodAccess method()
public int index()
public Plugin plugin()
EventNotifier
plugin
in interface EventNotifier
public Class<? extends Event> eventType()
EventNotifier
eventType
in interface EventNotifier
public Importance importance()
EventNotifier
importance
in interface EventNotifier
public void handle(Event event)
EventNotifier
handle
in interface EventNotifier
event
- the event to notify the listenerpublic Listener listener()
EventNotifier
listener
in interface EventNotifier
public int compare(ReflectNotifier registeredListener, ReflectNotifier t1)
compare
in interface Comparator<ReflectNotifier>
Copyright © 2016. All rights reserved.