On Wed, Nov 18, 2015 at 11:53 AM, Kanstantsin Shautsou
<[email protected]> 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?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2cy%2B%2B8pixpzMkvVx-nYeycPSgAx9miDCoxZ7Z11Lkf-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to