@Extension
public static final class DependencyCheckBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
DependencyCheckBuilder. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See src/main/resources/org/jenkinsci/plugins/DependencyCheck/DependencyCheckBuilder/*.jelly
for the actual HTML fragment for the configuration screen.| Constructor and Description |
|---|
DependencyCheckBuilder.DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Takes the /apply/save step in the global config and saves the JSON data
|
hudson.util.FormValidation |
doCheckBatchUpdateUrl(String value)
Performs input validation when submitting the global config (batch update url)
|
String |
getBatchUpdateUrl()
This method returns the global configuration for batch update url.
|
String |
getDisplayName()
This name is used on the build configuration screen
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic DependencyCheckBuilder.DescriptorImpl()
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>public hudson.util.FormValidation doCheckBatchUpdateUrl(@QueryParameter
String value)
value - The value of the URL as specified in the global configpublic 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>req - the requestformData - the form dataFormExceptionhudson.model.Descriptor.FormExceptionpublic String getBatchUpdateUrl()
Copyright © 2012-2013 OWASP. All Rights Reserved.