Package hudson.plugins.clover
Class CloverPublisher.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- hudson.plugins.clover.CloverPublisher.DescriptorImpl
-
- Enclosing class:
- CloverPublisher
@Symbol("clover") public static final class CloverPublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor forCloverPublisher
. Used as a singleton. The class is marked as public so that it can be accessed from views. See views/hudson/plugins/clover/CloverPublisher/*.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
-
-
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)
String
getDisplayName()
This human readable name is used in the configuration screen.boolean
isApplicable(Class<? extends AbstractProject> jobType)
CloverPublisher
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
Creates a new instance ofCloverPublisher
from a submitted form.-
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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<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
-
newInstance
public CloverPublisher newInstance(@NonNull org.kohsuke.stapler.StaplerRequest req, @NonNull net.sf.json.JSONObject formData)
Creates a new instance ofCloverPublisher
from a submitted form.- Overrides:
newInstance
in classDescriptor<Publisher>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
-