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 boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
FormValidation
doCheckHighestSeverityAllowed(String highestSeverityAllowed)
FormValidation
doCheckHighestSeverityAllowedDf(String highestSeverityAllowedDf)
FormValidation
doCheckImageName(String imageName)
FormValidation
doCheckSecureCnAccessKey(String secureCnAccessKey)
FormValidation
doCheckUrl(String url)
ListBoxModel
doFillDockerRegistryPasswordIdItems(Item context, String dockerRegistryPasswordId)
ListBoxModel
doFillSecureCnSecretKeyIdItems(Item context, String secureCnSecretKeyId)
String
getDisplayName()
This human readable name is used in the configuration screen.String
getHighestSeverityAllowed()
String
getHighestSeverityAllowedDf()
String
getImageName()
Boolean
getPushLocalImage()
String
getSecureCnAccessKey()
String
getUrl()
boolean
isApplicable(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:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
@Nonnull public String getDisplayName()
This human readable name is used in the configuration screen.- 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
-
getSecureCnAccessKey
public String getSecureCnAccessKey()
-
getImageName
public String getImageName()
-
getUrl
public String getUrl()
-
getHighestSeverityAllowed
public String getHighestSeverityAllowed()
-
getHighestSeverityAllowedDf
public String getHighestSeverityAllowedDf()
-
getPushLocalImage
public Boolean getPushLocalImage()
-
-