Class Provider.ProviderDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<Provider>
-
- io.jenkins.plugins.reporter.model.Provider.ProviderDescriptor
-
- Direct Known Subclasses:
Csv.Descriptor
,Json.Descriptor
,Xml.Descriptor
,Yaml.Descriptor
- Enclosing class:
- Provider
public abstract static class Provider.ProviderDescriptor extends Descriptor<Provider>
-
-
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 Modifier Constructor Description protected
ProviderDescriptor(String defaultId)
Creates a new instance ofProvider.ProviderDescriptor
with the given ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckId(String id)
FormValidation
doCheckPattern(String pattern)
String
getId()
String
getName()
Returns the default name of this tool.String
getSymbolName()
Returns theSymbol
name of this provider.-
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, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Constructor Detail
-
ProviderDescriptor
protected ProviderDescriptor(String defaultId)
Creates a new instance ofProvider.ProviderDescriptor
with the given ID.- Parameters:
defaultId
- the unique ID of the provider
-
-
Method Detail
-
getId
public String getId()
- Overrides:
getId
in classDescriptor<Provider>
-
getName
public String getName()
Returns the default name of this tool.- Returns:
- the name
-
getSymbolName
public String getSymbolName()
Returns theSymbol
name of this provider.- Returns:
- the name of this provider, or "undefined" if no symbol has been defined
-
doCheckPattern
@POST public FormValidation doCheckPattern(@QueryParameter("pattern") String pattern)
-
doCheckId
@POST public FormValidation doCheckId(@QueryParameter("id") String id)
-
-