Class ZDevUploadPlugin.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
com.zimperium.plugins.zDevJenkinsUploadPlugin.ZDevUploadPlugin.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
ZDevUploadPlugin

@Extension @Symbol("zScanUpload") public static final class ZDevUploadPlugin.DescriptorImpl extends BuildStepDescriptor<Publisher>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> jobType)
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Publisher>
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException
      Overrides:
      configure in class Descriptor<Publisher>
      Throws:
      Descriptor.FormException
    • setGlobalEndpoint

      public void setGlobalEndpoint(String globalEndpoint)
    • getGlobalEndpoint

      public String getGlobalEndpoint()
    • setGlobalClientId

      public void setGlobalClientId(String globalClientId)
    • getGlobalClientId

      public String getGlobalClientId()
    • setGlobalClientSecret

      public void setGlobalClientSecret(Secret globalClientSecret)
    • getGlobalClientSecret

      public Secret getGlobalClientSecret()
    • setGlobalUseProxy

      public void setGlobalUseProxy(Boolean globalUseProxy)
    • getGlobalUseProxy

      public Boolean getGlobalUseProxy()
    • getDefaultReportFileName

      public String getDefaultReportFileName()
    • getDefaultTeamName

      public String getDefaultTeamName()
    • doValidateCredentials

      @POST public FormValidation doValidateCredentials(@QueryParameter("endpoint") String endpoint, @QueryParameter("clientId") String clientId, @QueryParameter("clientSecret") Secret clientSecret, @QueryParameter("useProxy") Boolean useProxy, @AncestorInPath Item item)
    • doValidateGlobalCredentials

      @POST public FormValidation doValidateGlobalCredentials(@QueryParameter("globalEndpoint") String globalEndpoint, @QueryParameter("globalClientId") String globalClientId, @QueryParameter("globalClientSecret") Secret globalClientSecret, @QueryParameter("globalUseProxy") Boolean globalUseProxy, @AncestorInPath Item item)