Package jetbrains.buildServer.plugins
Interface PluginLifecycleListener
-
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
PluginLifecycleListenerAdapter
public interface PluginLifecycleListener extends EventListener
Allows to listen events of loading and unloading plugin. Dispatcher for this listener is created for each plugin separately and each plugin gets own events separately. UsePluginLifecycleListenerAdapter
for implementations.- Since:
- 2018.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beforePluginUnloaded()
Called before plugin unload is started.void
pluginLoaded()
Called after plugin is loaded successfully.
-
-
-
Method Detail
-
pluginLoaded
void pluginLoaded()
Called after plugin is loaded successfully. PluginStateProvider now treats current plugin as loaded and all other version of the plugin are updated.
-
beforePluginUnloaded
void beforePluginUnloaded()
Called before plugin unload is started. Not triggered when shutting down the server and shouldn't be used for plugin resources cleanup.
-
-