Class PluginEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class PluginEvent
    extends java.util.EventObject
    All Plugin events are encapsulated in this class, which simply contains the source Plugin, but may in future include more information.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      PluginEvent​(Plugin source)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Plugin getPlugin()
      Returns the source Plugin of this event, which is simple the getSource() method casted to Plugin for convenience.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PluginEvent

        PluginEvent​(Plugin source)
        Parameters:
        source - The source plugin of the event
    • Method Detail

      • getPlugin

        public Plugin getPlugin()
        Returns the source Plugin of this event, which is simple the getSource() method casted to Plugin for convenience.
        Returns:
        Plugin source of this event