Package com.veracode.jenkins.plugin
Class DynamicAnalysisStartNotifier.DynamicAnalysisStartDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- com.veracode.jenkins.plugin.DynamicAnalysisStartNotifier.DynamicAnalysisStartDescriptor
-
- Enclosing class:
- DynamicAnalysisStartNotifier
@Extension public static class DynamicAnalysisStartNotifier.DynamicAnalysisStartDescriptor 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 DynamicAnalysisStartDescriptor()
Load the persisted global configuration.
-
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
doCheckAnalysisName(String analysisName)
FormValidation
doCheckMaximumDuration(String maximumDuration)
FormValidation
doCheckVid(String vid, String vkey)
FormValidation
doCheckVkey(String vid, String vkey)
String
getDisplayName()
The name of the plugin displayed in the UI.String
getGvid()
String
getGvkey()
String
getPhost()
String
getPpassword()
String
getPport()
String
getPuser()
boolean
hasGlobalApiIdKeyCredentials()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
Whether this task is applicable to the given project.boolean
isDebugEnabled()
boolean
isProxyEnabled()
Publisher
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
Called when the user saves the project configuration.-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
The name of the plugin displayed in the UI.- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
Whether this task is applicable to the given project.- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
newInstance
public Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
Called when the user saves the project configuration.- Overrides:
newInstance
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
doCheckAnalysisName
public FormValidation doCheckAnalysisName(@QueryParameter String analysisName) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckMaximumDuration
public FormValidation doCheckMaximumDuration(@QueryParameter String maximumDuration) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckVid
public FormValidation doCheckVid(@QueryParameter("vid") String vid, @QueryParameter("vkey") String vkey) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckVkey
public FormValidation doCheckVkey(@QueryParameter("vid") String vid, @QueryParameter("vkey") String vkey) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
getGvid
public String getGvid()
-
getGvkey
public String getGvkey()
-
isDebugEnabled
public boolean isDebugEnabled()
-
isProxyEnabled
public boolean isProxyEnabled()
-
getPhost
public String getPhost()
-
getPport
public String getPport()
-
getPuser
public String getPuser()
-
getPpassword
public String getPpassword()
-
hasGlobalApiIdKeyCredentials
public boolean hasGlobalApiIdKeyCredentials()
-
-