public static class TinfoilScanRecorder.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
Client |
buildClient(EnvVars environment,
String apiAccessKey,
String apiSecretKey,
String apiHost,
String proxyHost,
Integer proxyPort) |
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
FormValidation |
doCheckProxyPort(String value,
String proxyHost) |
FormValidation |
doCheckSiteId(String value) |
ListBoxModel |
doFillCredentialIdItems(Item item,
String credentialsId,
String apiHost) |
String |
getAPIHost() |
String |
getCredentialId() |
String |
getDefaultAPIHost() |
String |
getDisplayName() |
String |
getProxyHost() |
Integer |
getProxyPort() |
boolean |
isApplicable(Class<? extends AbstractProject> jobType) |
void |
setCredentialId(String credentialId) |
filter
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
public boolean isApplicable(Class<? extends AbstractProject> jobType)
isApplicable
in class BuildStepDescriptor<Publisher>
public String getDisplayName()
getDisplayName
in class Descriptor<Publisher>
public String getDefaultAPIHost()
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
configure
in class Descriptor<Publisher>
Descriptor.FormException
public String getAPIHost()
public String getCredentialId()
public void setCredentialId(String credentialId)
public String getProxyHost()
public Integer getProxyPort()
public FormValidation doCheckSiteId(@QueryParameter String value) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public FormValidation doCheckProxyPort(@QueryParameter String value, @QueryParameter String proxyHost) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public Client buildClient(EnvVars environment, String apiAccessKey, String apiSecretKey, String apiHost, String proxyHost, Integer proxyPort) throws IOException, InterruptedException
IOException
InterruptedException
public ListBoxModel doFillCredentialIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId, @QueryParameter String apiHost)
Copyright © 2016–2019. All rights reserved.