Class ZDevUploadPlugin.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
com.zimperium.plugins.zDevJenkinsUploadPlugin.ZDevUploadPlugin.DescriptorImpl
- Enclosing class:
- ZDevUploadPlugin
@Extension
@Symbol("zScanUpload")
public static final class ZDevUploadPlugin.DescriptorImpl
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) doValidateCredentials(String endpoint, String clientId, Secret clientSecret, Boolean useProxy, Item item) doValidateGlobalCredentials(String globalEndpoint, String globalClientId, Secret globalClientSecret, Boolean globalUseProxy, Item item) booleanisApplicable(Class<? extends AbstractProject> jobType) voidsetGlobalClientId(String globalClientId) voidsetGlobalClientSecret(Secret globalClientSecret) voidsetGlobalEndpoint(String globalEndpoint) voidsetGlobalUseProxy(Boolean globalUseProxy) Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicablein classBuildStepDescriptor<Publisher>
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<Publisher>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configurein classDescriptor<Publisher>- Throws:
Descriptor.FormException
-
setGlobalEndpoint
-
getGlobalEndpoint
-
setGlobalClientId
-
getGlobalClientId
-
setGlobalClientSecret
-
getGlobalClientSecret
-
setGlobalUseProxy
-
getGlobalUseProxy
-
getDefaultReportFileName
-
getDefaultTeamName
-
doValidateCredentials
-
doValidateGlobalCredentials
@POST public FormValidation doValidateGlobalCredentials(@QueryParameter("globalEndpoint") String globalEndpoint, @QueryParameter("globalClientId") String globalClientId, @QueryParameter("globalClientSecret") Secret globalClientSecret, @QueryParameter("globalUseProxy") Boolean globalUseProxy, @AncestorInPath Item item)
-