Class PluginEvent
- java.lang.Object
-
- fr.paris.lutece.portal.service.plugin.PluginEvent
-
public class PluginEvent extends java.lang.ObjectPlugin Event used to notify PluginEvent Listeners
-
-
Field Summary
Fields Modifier and Type Field Description static intPLUGIN_INSTALLEDstatic intPLUGIN_POOL_CHANGEDstatic intPLUGIN_UNINSTALLED
-
Constructor Summary
Constructors Constructor Description PluginEvent(Plugin plugin, int nType)Creates a new instance of PluginEvent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEventType()Returns the EventTypePlugingetPlugin()Returns the Plugin
-
-
-
Field Detail
-
PLUGIN_INSTALLED
public static final int PLUGIN_INSTALLED
- See Also:
- Constant Field Values
-
PLUGIN_UNINSTALLED
public static final int PLUGIN_UNINSTALLED
- See Also:
- Constant Field Values
-
PLUGIN_POOL_CHANGED
public static final int PLUGIN_POOL_CHANGED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PluginEvent
public PluginEvent(Plugin plugin, int nType)
Creates a new instance of PluginEvent- Parameters:
plugin- The pluginnType- The event type
-
-
Method Detail
-
getEventType
public int getEventType()
Returns the EventType- Returns:
- The EventType
-
getPlugin
public Plugin getPlugin()
Returns the Plugin- Returns:
- The Plugin
-
-