Package com.veracode.jenkins.plugin
Class DynamicRescanNotifier.DynamicScanDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- com.veracode.jenkins.plugin.DynamicRescanNotifier.DynamicScanDescriptor
-
- Enclosing class:
- DynamicRescanNotifier
@Extension public static final class DynamicRescanNotifier.DynamicScanDescriptor extends BuildStepDescriptor<Publisher>
Contains the code that is executed after a user submits the "Configure System" form and provides getter methods for the form fields defined in global.jelly.This class extends the
BuildStepDescriptor
class. Converting this class to a top-level class should be done with the understanding that doing so might prevent the plugin from working properly if not at all.
-
-
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 DynamicScanDescriptor()
This constructor makes it possible for global configuration data to be re-loaded after Jenkins is restarted.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
boolean
getAutoappname()
boolean
getAutoversion()
boolean
getDebug()
String
getDisplayName()
The name of the plugin displayed in the UI.boolean
getFailbuild()
static String
getPostBuildActionDisplayText()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
Whether this task is applicable to the given project.-
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
-
getFailbuild
public boolean getFailbuild()
-
getAutoappname
public boolean getAutoappname()
-
getDebug
public boolean getDebug()
-
getAutoversion
public boolean getAutoversion()
-
getDisplayName
public String getDisplayName()
The name of the plugin displayed in the UI.- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
Whether this task is applicable to the given project.- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getPostBuildActionDisplayText
public static String getPostBuildActionDisplayText()
-
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
-
-