Package com.netsparker.cloud.plugin
Class NCScanBuilder.DescriptorImpl
- Enclosing class:
NCScanBuilder
@Symbol("NCScanBuilder")
@Extension
public static final class NCScanBuilder.DescriptorImpl
extends BuildStepDescriptor<Builder>
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) doCheckNcApiToken
(String value) doCheckNcProfileId
(String value, String ncScanType) doCheckNcReportType
(String value) doCheckNcScanType
(String value) doCheckNcServerURL
(String value) doCheckNcWebsiteId
(String value) doFillCredentialsIdItems
(Item owner, String credentialsId) doFillNcProfileIdItems
(String ncWebsiteId) doFillNcWebsiteIdItems
(String credentialsId) doTestConnection
(String credentialsId) doValidateAPI
(String ncServerURL, Secret ncApiToken, Boolean useProxy, String pHost, String pPort, String pUser, String pPassword) getpHost()
getpPort()
getpUser()
boolean
isApplicable
(Class<? extends AbstractProject> aClass) void
setNcApiToken
(String ncApiToken) void
setNcServerURL
(String ncServerURL) void
void
setpPassword
(String pPassword) void
void
void
setUseProxy
(Boolean useProxy) 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, 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
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getNcServerURL
-
setNcServerURL
-
getNcApiToken
-
setNcApiToken
-
getRootURL
-
getUseProxy
-
setUseProxy
-
getpHost
-
setpHost
-
getpPort
-
setpPort
-
getpUser
-
setpUser
-
getpPassword
-
setpPassword
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
getConfigPage
- Overrides:
getConfigPage
in classDescriptor<Builder>
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item owner, @QueryParameter String credentialsId) -
createEditorId
-
doFillNcScanTypeItems
-
doFillNcWebsiteIdItems
-
doFillNcProfileIdItems
-
doFillNcReportTypeItems
-
doValidateAPI
-
doTestConnection
-
doCheckNcServerURL
-
doCheckNcApiToken
-
doCheckNcScanType
-
doCheckNcWebsiteId
-
doCheckNcReportType
-
doCheckNcProfileId
public FormValidation doCheckNcProfileId(@QueryParameter String value, @QueryParameter String ncScanType) -
doFillNcSeverityItems
- Throws:
IOException
-