Package com.qualys.plugins.pc
Class PCScanNotifier.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- com.qualys.plugins.pc.PCScanNotifier.DescriptorImpl
-
- Enclosing class:
- PCScanNotifier
@Symbol("qualysPolicyComplianceScanner") @Extension public static final class PCScanNotifier.DescriptorImpl extends BuildStepDescriptor<Publisher>
-
-
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 DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.json.JSONObject
allPolicies(String optionProfile)
FormValidation
doCheckApiServer(String apiServer)
FormValidation
doCheckConnection(String platform, String apiServer, String credsId, String proxyServer, String proxyPort, String proxyCredentialsId, boolean useProxy, Item item)
FormValidation
doCheckCredsId(String credsId)
FormValidation
doCheckEc2Id(String ec2Id)
FormValidation
doCheckExcludedCids(String excludedCids)
FormValidation
doCheckFailByStateAndCriticality(boolean failByStateAndCriticality, boolean stateFail, boolean stateError, boolean stateExceptions, boolean criticalitySerious, boolean criticalityUrgent, boolean criticalityCritical, boolean criticalityMedium, boolean criticalityMinimal)
FormValidation
doCheckHostIp(String hostIp)
FormValidation
doCheckName(String value, boolean useFrench)
FormValidation
doCheckOptionProfile(String optionProfile)
FormValidation
doCheckPollingInterval(String pollingInterval)
FormValidation
doCheckProxyPort(String proxyPort)
FormValidation
doCheckProxyServer(String proxyServer)
FormValidation
doCheckScanName(String scanName)
FormValidation
doCheckVulnsTimeout(String vulnsTimeout)
ListBoxModel
doFillCredsIdItems(Item item, String credsId)
ListBoxModel
doFillEc2ConnDetailsItems(Item item, String platform, String apiServer, String credsId, String proxyServer, String proxyPort, String proxyCredentialsId, boolean useProxy, boolean useEc2)
ListBoxModel
doFillOptionProfileItems(Item item, String platform, String apiServer, String credsId, String proxyServer, String proxyPort, String proxyCredentialsId, boolean useProxy)
ListBoxModel
doFillPlatformItems()
ListBoxModel
doFillProxyCredentialsIdItems(Item item, String proxyCredentialsId)
ListBoxModel
doFillScannerNameItems(Item item, String platform, String apiServer, String credsId, String proxyServer, String proxyPort, String proxyCredentialsId, boolean useProxy, boolean useEc2, boolean useHost)
ListBoxModel
doFillUnixAndWindowsCredentialsIdItems(Item item, String unixAndWindowsCredentialsId)
ListBoxModel
doFillUnixAndWindowsCredentialsItems()
boolean
filledInputs(String platform, String apiServer, String credsId, boolean useProxy, String proxyServer, String proxyPort)
String
getDisplayName()
List<Map<String,String>>
getPlatforms()
boolean
isApplicable(Class<? extends AbstractProject> jobType)
boolean
isNonUTF8String(String string)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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
-
doCheckName
public FormValidation doCheckName(@QueryParameter String value, @QueryParameter boolean useFrench) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
doCheckApiServer
public FormValidation doCheckApiServer(@QueryParameter String apiServer)
-
doCheckCredsId
public FormValidation doCheckCredsId(@QueryParameter String credsId)
-
doFillCredsIdItems
@POST public ListBoxModel doFillCredsIdItems(@AncestorInPath Item item, @QueryParameter String credsId)
-
doFillUnixAndWindowsCredentialsIdItems
@POST public ListBoxModel doFillUnixAndWindowsCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String unixAndWindowsCredentialsId)
-
doCheckProxyServer
public FormValidation doCheckProxyServer(@QueryParameter String proxyServer)
-
doCheckProxyPort
public FormValidation doCheckProxyPort(@QueryParameter String proxyPort)
-
doFillProxyCredentialsIdItems
@POST public ListBoxModel doFillProxyCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String proxyCredentialsId)
-
doCheckHostIp
public FormValidation doCheckHostIp(@QueryParameter String hostIp)
-
doCheckScanName
public FormValidation doCheckScanName(@QueryParameter String scanName)
-
doCheckEc2Id
public FormValidation doCheckEc2Id(@QueryParameter String ec2Id)
-
doCheckOptionProfile
public FormValidation doCheckOptionProfile(@QueryParameter String optionProfile)
-
doCheckFailByStateAndCriticality
public FormValidation doCheckFailByStateAndCriticality(@QueryParameter boolean failByStateAndCriticality, @QueryParameter boolean stateFail, @QueryParameter boolean stateError, @QueryParameter boolean stateExceptions, @QueryParameter boolean criticalitySerious, @QueryParameter boolean criticalityUrgent, @QueryParameter boolean criticalityCritical, @QueryParameter boolean criticalityMedium, @QueryParameter boolean criticalityMinimal)
-
doCheckExcludedCids
public FormValidation doCheckExcludedCids(@QueryParameter String excludedCids)
-
doCheckPollingInterval
public FormValidation doCheckPollingInterval(@QueryParameter String pollingInterval)
-
doCheckVulnsTimeout
public FormValidation doCheckVulnsTimeout(@QueryParameter String vulnsTimeout)
-
doCheckConnection
@POST public FormValidation doCheckConnection(@QueryParameter String platform, @QueryParameter String apiServer, @QueryParameter String credsId, @QueryParameter String proxyServer, @QueryParameter String proxyPort, @QueryParameter String proxyCredentialsId, @QueryParameter boolean useProxy, @AncestorInPath Item item)
-
doFillUnixAndWindowsCredentialsItems
@POST public ListBoxModel doFillUnixAndWindowsCredentialsItems()
-
doFillScannerNameItems
@POST public ListBoxModel doFillScannerNameItems(@AncestorInPath Item item, @QueryParameter String platform, @QueryParameter String apiServer, @QueryParameter String credsId, @QueryParameter String proxyServer, @QueryParameter String proxyPort, @QueryParameter String proxyCredentialsId, @QueryParameter boolean useProxy, @QueryParameter boolean useEc2, @QueryParameter boolean useHost)
-
doFillPlatformItems
public ListBoxModel doFillPlatformItems()
-
doFillOptionProfileItems
@POST public ListBoxModel doFillOptionProfileItems(@AncestorInPath Item item, @QueryParameter String platform, @QueryParameter String apiServer, @QueryParameter String credsId, @QueryParameter String proxyServer, @QueryParameter String proxyPort, @QueryParameter String proxyCredentialsId, @QueryParameter boolean useProxy)
-
allPolicies
public org.json.JSONObject allPolicies(String optionProfile)
-
doFillEc2ConnDetailsItems
@POST public ListBoxModel doFillEc2ConnDetailsItems(@AncestorInPath Item item, @QueryParameter String platform, @QueryParameter String apiServer, @QueryParameter String credsId, @QueryParameter String proxyServer, @QueryParameter String proxyPort, @QueryParameter String proxyCredentialsId, @QueryParameter boolean useProxy, @QueryParameter boolean useEc2)
-
isNonUTF8String
public boolean isNonUTF8String(String string)
-
filledInputs
public boolean filledInputs(String platform, String apiServer, String credsId, boolean useProxy, String proxyServer, String proxyPort)
-
-