Class PortshiftVulnerabilityScannerBuilder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- io.jenkins.plugins.portshift_vulnerability_scanner.PortshiftVulnerabilityScannerBuilder.DescriptorImpl
-
- Enclosing class:
- PortshiftVulnerabilityScannerBuilder
@Symbol("secureCNVulnerabilityScanner") @Extension public static final class PortshiftVulnerabilityScannerBuilder.DescriptorImpl extends BuildStepDescriptor<Builder>Descriptor forPortshiftVulnerabilityScannerBuilder. Used as a singleton. The class is marked as public so that it can be accessed from views.
-
-
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()In order to load the persisted global configuration, you have to call load() in the constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)FormValidationdoCheckHighestSeverityAllowed(String highestSeverityAllowed)FormValidationdoCheckHighestSeverityAllowedDf(String highestSeverityAllowedDf)FormValidationdoCheckImageName(String imageName)FormValidationdoCheckSecureCnAccessKey(String secureCnAccessKey)FormValidationdoCheckUrl(String url)ListBoxModeldoFillDockerRegistryPasswordIdItems(Item context, String dockerRegistryPasswordId)ListBoxModeldoFillSecureCnSecretKeyIdItems(Item context, String secureCnSecretKeyId)StringgetDisplayName()This human readable name is used in the configuration screen.StringgetHighestSeverityAllowed()StringgetHighestSeverityAllowedDf()StringgetImageName()BooleangetPushLocalImage()StringgetSecureCnAccessKey()StringgetUrl()booleanisApplicable(Class<? extends AbstractProject> aClass)-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
doFillSecureCnSecretKeyIdItems
public ListBoxModel doFillSecureCnSecretKeyIdItems(@AncestorInPath Item context, @QueryParameter String secureCnSecretKeyId)
-
doFillDockerRegistryPasswordIdItems
public ListBoxModel doFillDockerRegistryPasswordIdItems(@AncestorInPath Item context, @QueryParameter String dockerRegistryPasswordId)
-
doCheckSecureCnAccessKey
public FormValidation doCheckSecureCnAccessKey(@QueryParameter String secureCnAccessKey)
-
doCheckImageName
public FormValidation doCheckImageName(@QueryParameter String imageName)
-
doCheckUrl
public FormValidation doCheckUrl(@QueryParameter String url)
-
doCheckHighestSeverityAllowed
public FormValidation doCheckHighestSeverityAllowed(@QueryParameter String highestSeverityAllowed)
-
doCheckHighestSeverityAllowedDf
public FormValidation doCheckHighestSeverityAllowedDf(@QueryParameter String highestSeverityAllowedDf)
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicablein classBuildStepDescriptor<Builder>
-
getDisplayName
@Nonnull public String getDisplayName()
This human readable name is used in the configuration screen.- Overrides:
getDisplayNamein classDescriptor<Builder>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException- Overrides:
configurein classDescriptor<Builder>- Throws:
Descriptor.FormException
-
getSecureCnAccessKey
public String getSecureCnAccessKey()
-
getImageName
public String getImageName()
-
getUrl
public String getUrl()
-
getHighestSeverityAllowed
public String getHighestSeverityAllowed()
-
getHighestSeverityAllowedDf
public String getHighestSeverityAllowedDf()
-
getPushLocalImage
public Boolean getPushLocalImage()
-
-