Interface MergedSubscription<T>

Type Parameters:
T - the handled type
All Superinterfaces:
AutoCloseable, Subscription, Terminable

public interface MergedSubscription<T> extends Subscription
Represents a subscription to a set of events.
  • Method Details

    • getHandledClass

      @NotNull @NotNull Class<? super T> getHandledClass()
      Gets the handled class
      Returns:
      the handled class
    • getEventClasses

      @NotNull @NotNull Set<Class<? extends org.bukkit.event.Event>> getEventClasses()
      Gets a set of the individual event classes being listened to
      Returns:
      the individual classes