|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.plugin.RegisteredListener
public class RegisteredListener
Stores relevant information for plugin listeners
| Constructor Summary | |
|---|---|
RegisteredListener(Listener listener,
EventExecutor executor,
EventPriority priority,
Plugin plugin,
boolean ignoreCancelled)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegisteredListener(Listener listener,
EventExecutor executor,
EventPriority priority,
Plugin plugin,
boolean ignoreCancelled)
| Method Detail |
|---|
public Listener getListener()
public Plugin getPlugin()
public EventPriority getPriority()
public void callEvent(Event event)
throws EventException
event - The event
EventException - If an event handler throws an exception.public boolean isIgnoringCancelled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||