mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-09 10:06:13 +00:00
Stage 1 : Create hudson.model.Jenkins, make Hudson derive from Jenkins.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
This commit is contained in:
1 parent
84a78d5bac
commit
70c1065814
313 files changed
+4914
-4953
No files matched your search
@@ -24,7 +24,7 @@
|
||||
package hudson;
|
||||
|
||||
import hudson.PluginWrapper.Dependency;
|
||||
import hudson.model.Hudson;
|
||||
import hudson.model.Jenkins;
|
||||
import hudson.util.IOException2;
|
||||
import hudson.util.MaskingClassLoader;
|
||||
import hudson.util.VersionNumber;
|
||||
@@ -258,7 +258,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
public void initializeComponents(PluginWrapper plugin) {
|
||||
}
|
||||
|
||||
public <T> List<ExtensionComponent<T>> findComponents(Class<T> type, Hudson hudson) {
|
||||
public <T> List<ExtensionComponent<T>> findComponents(Class<T> type, Jenkins hudson) {
|
||||
|
||||
List<ExtensionFinder> finders;
|
||||
if (type==ExtensionFinder.class) {
|
||||
@@ -269,7 +269,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
}
|
||||
|
||||
/**
|
||||
* See {@link ExtensionFinder#scout(Class, Hudson)} for the dead lock issue and what this does.
|
||||
* See {@link ExtensionFinder#scout(Class, hudson.model.Jenkins)} for the dead lock issue and what this does.
|
||||
*/
|
||||
if (LOGGER.isLoggable(Level.FINER))
|
||||
LOGGER.log(Level.FINER,"Scout-loading ExtensionList: "+type, new Throwable());
|
||||
|
||||
Reference in new issue
Block a user