TimedRegisteredListener
public class RegisteredListener
extends java.lang.Object
Constructor | Description |
---|---|
RegisteredListener(Listener listener,
EventExecutor executor,
EventPriority priority,
Plugin plugin,
boolean ignoreCancelled) |
Modifier and Type | Method | Description |
---|---|---|
void |
callEvent(Event event) |
Calls the event executor
|
Listener |
getListener() |
Gets the listener for this registration
|
Plugin |
getPlugin() |
Gets the plugin for this registration
|
EventPriority |
getPriority() |
Gets the priority for this registration
|
boolean |
isIgnoringCancelled() |
Whether this listener accepts cancelled events
|
public RegisteredListener(Listener listener, EventExecutor executor, EventPriority priority, Plugin plugin, boolean ignoreCancelled)
public Listener getListener()
public Plugin getPlugin()
public EventPriority getPriority()
public void callEvent(Event event) throws EventException
event
- The eventEventException
- If an event handler throws an exception.public boolean isIgnoringCancelled()
Copyright © 2018. All rights reserved.