@Extension
public static final class BuildScanner.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.ListBoxModel |
doFillGApiKeyIDItems(hudson.model.Item item) |
hudson.util.ListBoxModel |
doFillProfileItems() |
hudson.util.ListBoxModel |
doFillRepTempItems() |
hudson.util.ListBoxModel |
doFillTargetItems() |
hudson.util.ListBoxModel |
doFillThreatItems() |
hudson.util.FormValidation |
doTestConnection(String ApiUrl,
String apiKey) |
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
String |
getgApiUrl() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
Boolean |
testVersion() |
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
@POST public hudson.util.FormValidation doTestConnection(@QueryParameter(value="gApiUrl") String ApiUrl, @QueryParameter(value="gApiKey") String apiKey)
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Builder>
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<hudson.tasks.Builder>
hudson.model.Descriptor.FormException
public String getgApiUrl()
public hudson.util.ListBoxModel doFillProfileItems() throws IOException
IOException
public hudson.util.ListBoxModel doFillTargetItems() throws IOException
IOException
public hudson.util.ListBoxModel doFillRepTempItems() throws IOException
IOException
public hudson.util.ListBoxModel doFillThreatItems() throws IOException
IOException
public hudson.util.ListBoxModel doFillGApiKeyIDItems(@AncestorInPath hudson.model.Item item)
public Boolean testVersion()
Copyright © 2016–2021. All rights reserved.