Class BenchmarkPublisher.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- org.jenkinsci.plugins.benchmark.core.BenchmarkPublisher.DescriptorImpl
-
- Enclosing class:
- BenchmarkPublisher
@Extension @Symbol("benchmark") public static final class BenchmarkPublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor forBenchmarkPublisher
. Used as a singleton. The class is marked as public so that it can be accessed from views. This is the class in charge of all interactions by the UI components. Seesrc/main/resources/org/jenkinsci/plugins/benchmark/BenchmarkPublisher/*.jelly
for the actual HTML fragment for the configuration screen.
-
-
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()
In order to load the persisted global configuration, you have to call load() in the constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
FormValidation
doCheckAltInputSchema(String altInputSchema)
Check Input LocationListBoxModel
doFillSchemaSelectionItems()
Fill list of schema typesString
getDisplayName()
This human readable name is used in the configuration screen.List<ThresholdDescriptor>
getThresholdDescriptors()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
Indicates that this builder can be used with all kinds of project types-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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()
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
getThresholdDescriptors
public List<ThresholdDescriptor> getThresholdDescriptors()
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
Indicates that this builder can be used with all kinds of project types- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
doFillSchemaSelectionItems
public ListBoxModel doFillSchemaSelectionItems()
Fill list of schema types- Returns:
- list of schema types
-
doCheckAltInputSchema
public FormValidation doCheckAltInputSchema(@QueryParameter String altInputSchema)
Check Input Location- Parameters:
altInputSchema
- Custom schema as inserted by user- Returns:
- Validation result
-
-