public final class EventRegistration<T extends Event> extends java.lang.Object implements java.lang.Comparable<EventRegistration<T>>
| Constructor and Description |
|---|
EventRegistration(java.lang.Class<T> type,
EventDelegate<T> delegate,
int priority,
boolean ignoreCancellation) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EventRegistration<T> o) |
EventDelegate<T> |
getDelegate() |
int |
getPriority() |
java.lang.Class<T> |
getType() |
boolean |
isIgnoringCancellation() |
public EventRegistration(java.lang.Class<T> type, EventDelegate<T> delegate, int priority, boolean ignoreCancellation)
public java.lang.Class<T> getType()
public int getPriority()
public boolean isIgnoringCancellation()
public EventDelegate<T> getDelegate()
public int compareTo(EventRegistration<T> o)
compareTo in interface java.lang.Comparable<EventRegistration<T extends Event>>