On Wed, Nov 18, 2015 at 11:53 AM, Kanstantsin Shautsou
<
kanstan...@gmail.com> wrote:
> Somebody should add to Plugin javadoc link to GlobalConfig
I am tempted to simply deprecate `Plugin` (or perhaps just its
constructor, which subclasses would be forced to call) in favor of the
modern replacements:
· `GlobalConfiguration` rather than `MyPlugin/config.jelly` +
`configure` + `load` + `save`
· `Jenkins.servletContext` for `setServletContext` (anyway can only
find an override in `monitoring` plugin)
· `PluginManager` methods rather than `getWrapper`
· `Initializer` and `Terminator` (or `ItemListener.onLoaded`) rather
than `start`, `postInitialize`, or `stop`
WDYT?