开发者

Is there an equivalent to the Bootstrap class in a Plugin

开发者 https://www.devze.com 2023-01-03 03:52 出处:网络
Is there an a way to initialise some data in a Plugin. I am modulizing my code and it would be nice to ha开发者_高级运维ve something like the bootstrap in the Plugin but I cannot find it. Nor can I fi

Is there an a way to initialise some data in a Plugin. I am modulizing my code and it would be nice to ha开发者_高级运维ve something like the bootstrap in the Plugin but I cannot find it. Nor can I find references using the Google.


BootStrap.groovy is excluded by default from a plugin zip, but you can create a MyPluginBootStrap.groovy (name doesn't matter, just can't be BootStrap) and that'll be packaged and run along with the application's BootStrap.

0

精彩评论

暂无评论...
验证码 换一张
取 消