My plugin does some Jira configuration before installation.
I want to save my settings if plugin will be disabled.
And I want to clear my settings if plugin will be removed.
Example below show how to catch both disable and remove plugin events.
public class Uninstaller implements DisposableBean { /** Called when the plugin has been disabled or removed. */ @Override public void destroy() throws Exception {} }
I want to catch only remove event. Is it possible?
Hope this helps: http://www.j-tricks.com/1/post/2012/03/plugin-lifecycle-events.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.