Class AquaDockerScannerBuilder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
-
- org.jenkinsci.plugins.aquadockerscannerbuildstep.AquaDockerScannerBuilder.DescriptorImpl
-
- All Implemented Interfaces:
hudson.model.Saveable
,jenkins.util.io.OnMaster
- Enclosing class:
- AquaDockerScannerBuilder
@Symbol("aqua") @Extension public static final class AquaDockerScannerBuilder.DescriptorImpl extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
Descriptor forAquaDockerScannerBuilder
. Used as a singleton. The class is marked as public so that it can be accessed from views.
-
-
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)
hudson.util.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.hudson.util.Secret
getPassword()
String
getRunOptions()
int
getTimeout()
hudson.util.Secret
getToken()
String
getUser()
boolean
isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
String
isAuthType(String auth)
-
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 hudson.util.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 hudson.model.AbstractProject> aClass)
- Specified by:
isApplicable
in classhudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
-
getDisplayName
public String getDisplayName()
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classhudson.model.Descriptor<hudson.tasks.Builder>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
- Overrides:
configure
in classhudson.model.Descriptor<hudson.tasks.Builder>
- Throws:
hudson.model.Descriptor.FormException
-
getAquaScannerImage
public String getAquaScannerImage()
-
getApiURL
public String getApiURL()
-
getAuthVal
public String getAuthVal()
-
getUser
public String getUser()
-
getPassword
public hudson.util.Secret getPassword()
-
getToken
public hudson.util.Secret getToken()
-
getTimeout
public int getTimeout()
-
getRunOptions
public String getRunOptions()
-
getCaCertificates
public boolean getCaCertificates()
-
-