| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.event.Event
public abstract class Event
Represents an event.
PluginManager.callEvent(Event), 
PluginManager.registerEvents(Listener,Plugin)| Nested Class Summary | |
|---|---|
| static class | Event.Result | 
| Constructor Summary | |
|---|---|
| Event()The default constructor is defined for cleaner code. | |
| Event(boolean isAsync)This constructor is used to explicitly declare an event as synchronous or asynchronous. | |
| Method Summary | |
|---|---|
|  String | getEventName()Convenience method for providing a user-friendly identifier. | 
| abstract  HandlerList | getHandlers() | 
|  boolean | isAsynchronous()Any custom event that should not by synchronized with other events must use the specific constructor. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Event()
public Event(boolean isAsync)
isAsync - true indicates the event will fire asynchronously, false
     by default from default constructor| Method Detail | 
|---|
public String getEventName()
public abstract HandlerList getHandlers()
public final boolean isAsynchronous()
IllegalStateException.
 
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||