Class AquaDockerScannerBuilder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- org.jenkinsci.plugins.aquadockerscannerbuildstep.AquaDockerScannerBuilder.DescriptorImpl
-
- Enclosing class:
- AquaDockerScannerBuilder
@Symbol("aqua") @Extension public static final class AquaDockerScannerBuilder.DescriptorImpl extends BuildStepDescriptor<Builder>
Descriptor forAquaDockerScannerBuilder
. 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
doCheckTimeout(String value)
Performs on-the-fly validation of the form field 'name'.String
getApiURL()
String
getAquaScannerImage()
String
getAuthVal()
boolean
getCaCertificates()
String
getDisplayName()
This human readable name is used in the configuration screen.Secret
getPassword()
String
getRegistryAuthType()
Secret
getRegistryPassword()
String
getRegistryUsername()
String
getRunOptions()
int
getTimeout()
Secret
getToken()
String
getUser()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
String
isAuthType(String auth)
String
isRegistryAuthType(String auth)
-
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
-
doCheckTimeout
public FormValidation doCheckTimeout(@QueryParameter String value) throws IOException, javax.servlet.ServletException
Performs on-the-fly validation of the form field 'name'.- Parameters:
value
- This parameter receives the value that the user has typed.- Returns:
- Indicates the outcome of the validation. This is sent to the browser.
- Throws:
IOException
javax.servlet.ServletException
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
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
-
getAquaScannerImage
public String getAquaScannerImage()
-
getApiURL
public String getApiURL()
-
getRegistryUsername
public String getRegistryUsername()
-
getRegistryPassword
public Secret getRegistryPassword()
-
getRegistryAuthType
public String getRegistryAuthType()
-
getAuthVal
public String getAuthVal()
-
getUser
public String getUser()
-
getPassword
public Secret getPassword()
-
getToken
public Secret getToken()
-
getTimeout
public int getTimeout()
-
getRunOptions
public String getRunOptions()
-
getCaCertificates
public boolean getCaCertificates()
-
-