EventHook

public EventHook<T> EventHook<T extends Event>(IEventHandler handlerClass, Handler<T> handler, Boolean ignoresCondition, Priority priority, Function0<Boolean> condition, Long timeout)

Parameters

T

The type of event.