Package io.manebot.event
Interface EventExecutor
-
public interface EventExecutor
-
-
Method Summary
Modifier and Type Method Description voidfire(Event event)Executes the listener on the executor.EventListenergetListener()Gets the event listener associated with this executor.EventPrioritygetPriority()Gets the priority for this executor.
-
-
-
Method Detail
-
fire
void fire(Event event) throws EventExecutionException
Executes the listener on the executor.- Parameters:
event- Event to execute.- Throws:
EventExecutionException
-
getListener
EventListener getListener()
Gets the event listener associated with this executor.- Returns:
- Listener.
-
getPriority
EventPriority getPriority()
Gets the priority for this executor.- Returns:
- executor priority.
-
-