@Extension
public static final class AppScanStandardBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
Constructor and Description |
---|
DescriptorImpl()
In order to load the persisted global configuration,
you have to call load() in the constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckStartingURL(String value)
Performs on-the-fly validation of the form field 'startingURL'.
|
hudson.util.ListBoxModel |
doFillInstallationItems()
Gets AppScan installation(s) from Global Tool Configuration.
|
String |
getAdditionalCommandsGlobal()
Getter for additional commands from Global Configuration
|
String |
getDisplayName()
Text to display on the "Add build step" drop down list
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public DescriptorImpl()
public hudson.util.ListBoxModel doFillInstallationItems()
public hudson.util.FormValidation doCheckStartingURL(@QueryParameter String value) throws javax.servlet.ServletException
value
- This parameter receives the value
that the user has typed.FormValidation.error(String)
does not
prevent the form from being saved. It just
means that a message will be displayed to the
user.javax.servlet.ServletException
- Defines a general exception a servlet can throw when it encounters difficulty.public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<hudson.tasks.Builder>
hudson.model.Descriptor.FormException
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Builder>
public String getAdditionalCommandsGlobal()
Copyright © 2016–2017. All rights reserved.