diff --git a/core/src/main/java/hudson/model/TopLevelItemDescriptor.java b/core/src/main/java/hudson/model/TopLevelItemDescriptor.java index eb29b7b17f5c24c7b5731d135d0d9ed4e6a24909..91cc3c2f44bb1b056f094424951dcd939be19b52 100644 --- a/core/src/main/java/hudson/model/TopLevelItemDescriptor.java +++ b/core/src/main/java/hudson/model/TopLevelItemDescriptor.java @@ -15,6 +15,17 @@ public abstract class TopLevelItemDescriptor extends Descriptor { super(clazz); } + /** + * {@inheritDoc} + * + *

+ * Used as the caption when the user chooses what job type to create. + * The descriptor implementation also needs to have detail.jelly + * script, which will be used to render the text below the caption + * that expains the job type. + */ + public abstract String getDisplayName(); + /** * @deprecated * This is not a valid operation for {@link Job}s.