hudson.model
Class StringParameterDefinition.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<ParameterDefinition>
      extended by hudson.model.ParameterDefinition.ParameterDescriptor
          extended by hudson.model.StringParameterDefinition.DescriptorImpl
All Implemented Interfaces:
Saveable
Enclosing class:
StringParameterDefinition

@Extension
public static class StringParameterDefinition.DescriptorImpl
extends ParameterDefinition.ParameterDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
StringParameterDefinition.DescriptorImpl()
           
 
Method Summary
 String getDisplayName()
          Human readable name of this kind of configurable object.
 String getHelpFile()
          Returns the resource path to the help screen HTML, if any.
 
Methods inherited from class hudson.model.ParameterDefinition.ParameterDescriptor
getValuePage
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringParameterDefinition.DescriptorImpl

public StringParameterDefinition.DescriptorImpl()
Method Detail

getDisplayName

public String getDisplayName()
Description copied from class: Descriptor
Human readable name of this kind of configurable object.

Overrides:
getDisplayName in class ParameterDefinition.ParameterDescriptor

getHelpFile

public String getHelpFile()
Description copied from class: Descriptor
Returns the resource path to the help screen HTML, if any.

Starting 1.282, this method uses "convention over configuration" — you should just put the "help.html" (and its localized versions, if any) in the same directory you put your Jelly view files, and this method will automatically does the right thing.

This value is relative to the context root of Hudson, so normally the values are something like "/plugin/emma/help.html" to refer to static resource files in a plugin, or "/publisher/EmmaPublisher/abc" to refer to Jelly script abc.jelly or a method EmmaPublisher.doAbc().

Overrides:
getHelpFile in class Descriptor<ParameterDefinition>
Returns:
null to indicate that there's no help.


Copyright © 2004-2013. All Rights Reserved.