Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Plugin Bootstrapping/On-Enable Action

Tim Coulson February 11, 2015

Hi,

I'm developing a plugin for Bamboo and wondered if there was the ability to run some bootstrapping code every time the plugin is enabled/reinstalled?

Thanks!

Tim

1 answer

1 accepted

1 vote
Answer accepted
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2015

SAL provides https://developer.atlassian.com/static/javadoc/sal/2.6/reference/com/atlassian/sal/api/lifecycle/LifecycleAware.html

Create an class that implements it and declare it as a public component in your atlassian-plugin.xml and you should be good.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events