org.bukkit.event.server
Class PluginEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.server.ServerEvent
          extended by org.bukkit.event.server.PluginEvent
Direct Known Subclasses:
PluginDisableEvent, PluginEnableEvent

public abstract class PluginEvent
extends ServerEvent

Used for plugin enable and disable events


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Constructor Summary
PluginEvent(Plugin plugin)
           
 
Method Summary
 Plugin getPlugin()
          Gets the plugin involved in this event
 
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginEvent

public PluginEvent(Plugin plugin)
Method Detail

getPlugin

public Plugin getPlugin()
Gets the plugin involved in this event

Returns:
Plugin for this event


Copyright © 2013. All Rights Reserved.