From 41e35fc081190265cb56e774e215d87ca5231ba9 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Tue, 19 Dec 2006 18:08:05 +0000 Subject: [PATCH] doc improvement. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1387 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/Plugin.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/Plugin.java b/core/src/main/java/hudson/Plugin.java index 60ed8a0f57..b11ab71b95 100644 --- a/core/src/main/java/hudson/Plugin.java +++ b/core/src/main/java/hudson/Plugin.java @@ -9,6 +9,12 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.net.URL; +import hudson.tasks.Publisher; +import hudson.tasks.Builder; +import hudson.model.Hudson; +import hudson.triggers.Trigger; +import hudson.scm.SCM; + /** * Base class of Hudson plugin. * @@ -45,7 +51,9 @@ public abstract class Plugin { * *

* This method is called after {@link #setServletContext(ServletContext)} is invoked. - * You can also use {@link Hudson#getInstance()} to access the singleton hudson instance. + * You can also use {@link Hudson#getInstance()} to access the singleton hudson instance, + * although the plugin start up happens relatively early in the initialization + * stage and not all the data are loaded in Hudson. * *

* Plugins should override this method and register custom -- GitLab