Package io.manebot.event
Interface EventExecutor
-
public interface EventExecutor
-
-
Method Summary
Modifier and Type Method Description void
fire(Event event)
Executes the listener on the executor.EventListener
getListener()
Gets the event listener associated with this executor.EventPriority
getPriority()
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.
-
-