diff --git a/core/src/main/java/hudson/Plugin.java b/core/src/main/java/hudson/Plugin.java index 0c08ecb35be4ed00f7425f5e7d19f37d7365480f..e2a061fbda6791bfd97679e95daa84117e0aba54 100644 --- a/core/src/main/java/hudson/Plugin.java +++ b/core/src/main/java/hudson/Plugin.java @@ -48,7 +48,10 @@ import com.thoughtworks.xstream.XStream; * Base class of Hudson plugin. * *
- * A plugin may derive from this class. + * A plugin may derive from this class, or it may directly define extension + * points annotated with {@link hudson.Extension}. For a list of extension + * points, see + * https://wiki.jenkins-ci.org/display/JENKINS/Extension+points. * *
* One instance of a plugin is created by Hudson, and used as the entry point diff --git a/core/src/main/java/hudson/model/labels/LabelAtomProperty.java b/core/src/main/java/hudson/model/labels/LabelAtomProperty.java index 41a1d7189bb5e831682adf12238dc2a506ca2da5..efaad2ab777167dba9e0a5fbc5a48e992150fa00 100644 --- a/core/src/main/java/hudson/model/labels/LabelAtomProperty.java +++ b/core/src/main/java/hudson/model/labels/LabelAtomProperty.java @@ -40,19 +40,9 @@ import java.util.Collections; * Plugins can contribute this extension point to add additional data or UI actions to {@link LabelAtom}. * {@link LabelAtomProperty}s show up in the configuration screen of a label, and they are persisted * with the {@link LabelAtom} object. - * - *
getDisplayName()
. This function returns the name of the option shown in the label
- * configuration page to activate your extensiongetActions()
function to return your additional {@link hudson.model.Action}(s)* Put {@link Extension} on your descriptor implementation to have it auto-registered. + * + *
+ * When extending this class, override Descriptor.getDisplayName()
. In the
+ * context of LabelAtomPropertyDescriptor, this function is used to determine the label of
+ * the checkbox shown in the label's configuration page to activate the extension.
*
* @author Kohsuke Kawaguchi
* @since 1.373