Package dev.demeng.pluginbase.event
Interface SingleSubscription<T extends org.bukkit.event.Event>
- Type Parameters:
T- the event type
- All Superinterfaces:
AutoCloseable,Subscription,Terminable
Represents a subscription to a single given event.
-
Field Summary
Fields inherited from interface dev.demeng.pluginbase.terminable.Terminable
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionGets the class the handler is handlingMethods inherited from interface dev.demeng.pluginbase.event.Subscription
close, getCallCounter, getFunctions, isActive, unregisterMethods inherited from interface dev.demeng.pluginbase.terminable.Terminable
bindWith, closeAndReportException, closeSilently, isClosed
-
Method Details
-
getEventClass
Gets the class the handler is handling- Returns:
- the class the handler is handling.
-