Class GerritManagement.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<GerritManagement>
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement.DescriptorImpl
-
- Enclosing class:
- GerritManagement
@Extension public static final class GerritManagement.DescriptorImpl extends Descriptor<GerritManagement>
Descriptor is only used for UI form bindings.
-
-
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
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoCompletionCandidates
doAutoCompleteCopyNewItemFrom(String value)
Auto-completion for the "copy from" field in the new server page.String
getDisplayName()
static DescriptorExtensionList<GerritServer,GerritServer.DescriptorImpl>
serverDescriptorList()
Returns the list containing the GerritServer descriptor.-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<GerritManagement>
-
serverDescriptorList
public static DescriptorExtensionList<GerritServer,GerritServer.DescriptorImpl> serverDescriptorList()
Returns the list containing the GerritServer descriptor.- Returns:
- the list of descriptors containing GerritServer's descriptor.
-
doAutoCompleteCopyNewItemFrom
public AutoCompletionCandidates doAutoCompleteCopyNewItemFrom(@QueryParameter String value)
Auto-completion for the "copy from" field in the new server page.- Parameters:
value
- the value that the user has typed in the textbox.- Returns:
- the list of server names, depending on the current value in the textbox.
-
-