TPlugin
- Type of the plugin for which the listener was registered.@FunctionalInterface public interface IPluginLifecycleListener<TPlugin extends IFCPlugin>
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(EPluginLifecycleEvent event,
PluginRuntime pluginRuntime,
TPlugin plugin)
The callback method that is invoked when the event occurred for which this listener was registered.
|
void handleEvent(EPluginLifecycleEvent event, PluginRuntime pluginRuntime, TPlugin plugin) throws FCPluginException
event
- The event that did occur. This is the event for which this listener was registered.pluginRuntime
- The current plugin runtime of the plugin event.plugin
- The current plugin instance of the plugin event.FCPluginException
- May be thrown in case of an error. How this exception is handled depends on the type of
the event for which this listener was registered. In general, throwing an exception behaves the same way as if the
exception were thrown in one of the plugin lifecycle methods
(IFCPlugin.install(de.xima.fc.interfaces.plugin.lifecycle.IPluginInstallData)
etc.).Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.