Commit Graph
5182 Commits
Author SHA1 Message Date
kohsuke df0a268237 don't mark this as an extension point --- people should extend from either Recorder or Notifier.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15686 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 23:03:46 +00:00
kohsuke 8425d50ce3 Adding back Mailer.DESCRIPTOR as everyone depends on it
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15685 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 23:03:07 +00:00
kohsuke c154a02aff fixing a compilation problem
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15684 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 23:02:34 +00:00
kohsuke b63f162f75 updated Publisher to support auto-discovery.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15683 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 22:53:04 +00:00
kohsuke a8188ad45d bug fix pointed out by Tom.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15681 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 22:28:39 +00:00
kohsuke dc68af250b recording why this was necessary
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15680 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 22:02:49 +00:00
kohsuke 3d9b49e5d9 fixed another compilation failure
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15679 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 22:01:46 +00:00
kohsuke 19625a198f fixed another compilation failure
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15678 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 22:00:34 +00:00
kohsuke 7a788f4bdc adding this back since the sonar plugin depends on it.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15677 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 21:59:11 +00:00
kohsuke 2a7bdd51e6 fixed a compile error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15676 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 21:53:36 +00:00
kohsuke 273a803e1a updated SCM and Cloud to support auto discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15675 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 21:37:15 +00:00
kohsuke 2c64b1337d updated PageDecorator to support auto discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15674 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 20:20:14 +00:00
kohsuke 36e49dd616 this needs to come later to avoid initialization order problem
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15673 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 20:06:41 +00:00
kohsuke 0b5601aa5d updated Job to support auto discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15670 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:59:19 +00:00
kohsuke f24fadef87 updated NodeMonitor to support auto discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15669 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:49:56 +00:00
kohsuke 88833e8ea8 supported auto discovery of global Hudson-level Widgets
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15668 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:46:58 +00:00
kohsuke d02065c09a improved parameterization of DescriptorExtensionList to better support custom Descriptor type.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15667 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:44:48 +00:00
kohsuke 4e1f48ac17 updated AuthorizationStrategy to support auto-discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15666 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:20:44 +00:00
kohsuke 1dec420e91 updated Node to support auto-discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15665 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:17:29 +00:00
kohsuke 43e53fda59 updated ChangeLogAnnotator to support auto discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15663 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:08:59 +00:00
kohsuke d20d74d9f1 updated DynamicLabeller to support auto discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15662 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 19:00:57 +00:00
kohsuke 2b9f3b2d71 followed a convention
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15661 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:48:14 +00:00
kohsuke 2db12ebdd9 FileSystemProvisioner is updated to support automatic discovery.
This class isn't officially committed, so in this case I just removed LIST altogether.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15660 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:47:28 +00:00
kohsuke b0d4a44183 RetentionStrategy is updated to support automatic discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15659 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:45:42 +00:00
kohsuke 4d57c31dc3 ParameterDefinition is updated to support automatic discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15658 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:39:58 +00:00
kohsuke 62588b028d ListViewColumn is updated to support auto registration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15657 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:35:08 +00:00
kohsuke af21daf8d9 added Hudson.getDescriptorByType() to simplify the retrieval of the descriptor instance. Fixed test cases.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15656 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:32:42 +00:00
kohsuke 5e5bc93b78 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15655 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:18:28 +00:00
kohsuke 35cc0e5b33 added another compatibility support code, and used that to support auto-registration in UserNameResolver
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15654 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 18:01:56 +00:00
kohsuke 1b766a0861 RepositoryBrowser is updated to support auto registration.
Refactored the ConcurrentHashMap double-if putIfAbsent idiom into the Memoizer class.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15653 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 17:47:32 +00:00
kohsuke 50d0fca828 IntelliJ complains if @Override is for interfaces
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15652 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 17:15:46 +00:00
draco2k8 3e0738d57e [FIXED HUDSON-3124] Better SVN polling support - Trigger a build for changes in certain regions
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15650 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 14:42:50 +00:00
kohsuke a6cf7e129b Java5 optimization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15623 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 05:23:27 +00:00
kohsuke e73dd67934 fixed a compilation error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15622 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 05:23:18 +00:00
kohsuke b9658d5a55 now that ExtensionList is a List, this wasn't necessary after all. Reverting the previous change
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15621 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 05:23:02 +00:00
kohsuke bd8c2a1cad Converted ComputerLauncher to support auto-registration.
ExtensionList is modified to implement List (with the add() method for legacy support) for simplification.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15620 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 05:18:26 +00:00
kohsuke 66519f5eba formatting changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15619 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 05:11:12 +00:00
kohsuke b4f3a13ebc converted JobProperty to support auto-registration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15618 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 05:09:02 +00:00
kohsuke cf25766b92 converted Builder to support auto-registration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15617 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 04:58:40 +00:00
kohsuke 23e2dcbe06 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15616 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 01:04:59 +00:00
kohsuke b5e218836e updated to support the auto discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15615 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:57:24 +00:00
kohsuke 00dfee4963 removed Descriptor.ALL. According to grep this isn't used by any of the official plugins, and because of the type signature, we cannot make this work in the new scheme.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15614 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:56:29 +00:00
kohsuke a75a52db7b this has been here for more than 2 years now. Time to remove a warning.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15613 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:44:12 +00:00
kohsuke abd2950e10 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15612 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:42:51 +00:00
kohsuke 836ca42fa4 formatting change
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15611 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:35:39 +00:00
kohsuke a451ce59c1 converted existing MavenReporters into the auto-discovery based mechanism.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15610 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:35:14 +00:00
kohsuke 4923cd30e1 converted existing AuthorizationStrategy implementations for auto-discovery
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15608 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:14:52 +00:00
kohsuke 6852bba554 Existing SecurityRealm implementations are converted for auto-discovery.
I also used the active directory plugin to make sure that the binary compatibility with old plugins are working

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15607 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:05:47 +00:00
kohsuke e76b940561 bug fix in the load order handling.
Until all the plugins are loaded, we cannot start the discovery process, so if the list view is requested before that, just return the list of legacy instances as an approximation.

The current plugin code shouldn't expect the DescriptorList to be fully populated until all the plugins are loaded anyway, so this partial visibility isn't any different from what they currently see.

OTOH, this prevents NPE in ExtensionFinder.Sezpoz when it tries to get the uber classloader.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15606 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:03:48 +00:00
kohsuke e551e69284 avoid unnecessary eager loading
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15605 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-24 00:01:59 +00:00