@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 |
doCheckCveUrl12Base(String value) |
hudson.util.FormValidation |
doCheckCveUrl12Modified(String value) |
hudson.util.FormValidation |
doCheckCveUrl20Base(String value) |
hudson.util.FormValidation |
doCheckCveUrl20Modified(String value) |
hudson.util.FormValidation |
doCheckMonoPath(String value) |
hudson.util.FormValidation |
doCheckNexusUrl(String value) |
hudson.util.FormValidation |
doCheckTempPath(String value) |
hudson.util.FormValidation |
doCheckZipExtensions(String value) |
String |
getCveUrl12Base()
Returns the global configuration for CVE 1.2 base URL.
|
String |
getCveUrl12Modified()
Returns the global configuration for CVE 1.2 modified URL.
|
String |
getCveUrl20Base()
Returns the global configuration for CVE 2.0 base URL.
|
String |
getCveUrl20Modified()
Returns the global configuration for CVE 2.0 modified URL.
|
int |
getDataMirroringType()
This method returns the global configuration for dataMirroringType.
|
String |
getDisplayName()
This name is used on the build configuration screen.
|
boolean |
getIsArchiveAnalyzerEnabled()
Returns the global configuration for enabling the Archive analyzer.
|
boolean |
getIsAssemblyAnalyzerEnabled()
Returns the global configuration for enabling the Assembly analyzer.
|
boolean |
getIsCentralAnalyzerEnabled()
Returns the global configuration for enabling the Maven Central analyzer.
|
boolean |
getIsJarAnalyzerEnabled()
Returns the global configuration for enabling the Jar analyzer.
|
boolean |
getIsJavascriptAnalyzerEnabled()
Returns the global configuration for enabling the Javascript analyzer.
|
boolean |
getIsNexusAnalyzerEnabled()
Returns the global configuration for enabling the Nexus analyzer.
|
boolean |
getIsNexusProxyBypassed()
Returns the global configuration to determine if the Nexus analyzer should bypass any proxy defined in Jenkins.
|
boolean |
getIsNuspecAnalyzerEnabled()
Returns the global configuration for enabling the NuSpec analyzer.
|
String |
getMonoPath()
Returns the global configuration for the path and filename for the mono binary.
|
String |
getNexusUrl()
Returns the global configuration for the Nexus URL to use when enabled.
|
String |
getTempPath()
Returns the global configuration for the path to the temporary directory.
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
boolean |
isMaven(Class<? extends hudson.model.AbstractProject> clazz) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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, toMappublic DependencyCheckBuilder.DescriptorImpl()
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>public boolean isMaven(Class<? extends hudson.model.AbstractProject> clazz)
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>public hudson.util.FormValidation doCheckZipExtensions(@QueryParameter
String value)
public hudson.util.FormValidation doCheckCveUrl12Modified(@QueryParameter
String value)
public hudson.util.FormValidation doCheckCveUrl20Modified(@QueryParameter
String value)
public hudson.util.FormValidation doCheckCveUrl12Base(@QueryParameter
String value)
public hudson.util.FormValidation doCheckCveUrl20Base(@QueryParameter
String value)
public hudson.util.FormValidation doCheckNexusUrl(@QueryParameter
String value)
public hudson.util.FormValidation doCheckMonoPath(@QueryParameter
String value)
public hudson.util.FormValidation doCheckTempPath(@QueryParameter
String value)
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>req - the requestformData - the form dataFormExceptionhudson.model.Descriptor.FormExceptionpublic int getDataMirroringType()
public String getCveUrl12Modified()
public String getCveUrl20Modified()
public String getCveUrl12Base()
public String getCveUrl20Base()
public boolean getIsJarAnalyzerEnabled()
public boolean getIsJavascriptAnalyzerEnabled()
public boolean getIsArchiveAnalyzerEnabled()
public boolean getIsAssemblyAnalyzerEnabled()
public boolean getIsNuspecAnalyzerEnabled()
public boolean getIsCentralAnalyzerEnabled()
public boolean getIsNexusAnalyzerEnabled()
public String getNexusUrl()
public boolean getIsNexusProxyBypassed()
public String getMonoPath()
public String getTempPath()
Copyright © 2012-2014 OWASP. All Rights Reserved.