> On Nov 18, 2015, at 21:12, 'Jesse Glick' via Jenkins Developers > <[email protected]> wrote: > > 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? I thought it is right entry Point if somebody wants to use some plugin specific actions as it obvious entry point for plugin (i.e. not to use GlobalConfiguration and not use Descriptors). I also thought that start/postInitialize is used to get earlier actions for magic actions (i.e. alias XStream entries). > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/V394esGVs88/unsubscribe. > To unsubscribe from this group and all its topics, 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.
-- 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/E54E223B-2DAA-47B6-81EB-EF9667CA8395%40gmail.com. For more options, visit https://groups.google.com/d/optout.
