Class PolarisGlobalConfig

  • All Implemented Interfaces:
    hudson.ExtensionPoint, hudson.model.Describable<jenkins.model.GlobalConfiguration>, hudson.model.Saveable, java.io.Serializable, jenkins.util.io.OnMaster

    @Extension
    public class PolarisGlobalConfig
    extends jenkins.model.GlobalConfiguration
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class hudson.model.Descriptor

        hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
      • Nested classes/interfaces inherited from interface hudson.ExtensionPoint

        hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
    • Field Summary

      • Fields inherited from class hudson.model.Descriptor

        clazz
      • Fields inherited from interface hudson.model.Saveable

        NOOP
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PolarisServerConfigBuilder createPolarisServerConfigBuilder​(com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper synopsysCredentialsHelper, com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper, java.lang.String polarisUrl, java.lang.String credentialsId, int timeout)  
      void doConfigDotXml​(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)  
      hudson.util.ListBoxModel doFillPolarisCredentialsIdItems()  
      hudson.util.FormValidation doTestPolarisConnection​(java.lang.String polarisUrl, java.lang.String polarisCredentialsId, java.lang.String polarisTimeout)  
      java.lang.String getPolarisCredentialsId()  
      PolarisServerConfig getPolarisServerConfig​(com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper credentialsHelper, com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper)  
      PolarisServerConfigBuilder getPolarisServerConfigBuilder​(com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper credentialsHelper, com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper)  
      int getPolarisTimeout()  
      java.lang.String getPolarisUrl()  
      void setPolarisCredentialsId​(java.lang.String polarisCredentialsId)  
      void setPolarisTimeout​(int polarisTimeout)  
      void setPolarisUrl​(java.lang.String polarisUrl)  
      • Methods inherited from class jenkins.model.GlobalConfiguration

        all, configure, getDescriptor, getGlobalConfigPage
      • Methods inherited from class hudson.model.Descriptor

        addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PolarisGlobalConfig

        @DataBoundConstructor
        public PolarisGlobalConfig()
    • Method Detail

      • getPolarisUrl

        public java.lang.String getPolarisUrl()
      • setPolarisUrl

        @DataBoundSetter
        public void setPolarisUrl​(java.lang.String polarisUrl)
      • getPolarisCredentialsId

        public java.lang.String getPolarisCredentialsId()
      • setPolarisCredentialsId

        @DataBoundSetter
        public void setPolarisCredentialsId​(java.lang.String polarisCredentialsId)
      • getPolarisTimeout

        public int getPolarisTimeout()
      • setPolarisTimeout

        @DataBoundSetter
        public void setPolarisTimeout​(int polarisTimeout)
      • getPolarisServerConfig

        public PolarisServerConfig getPolarisServerConfig​(com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper credentialsHelper,
                                                          com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper)
                                                   throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • getPolarisServerConfigBuilder

        public PolarisServerConfigBuilder getPolarisServerConfigBuilder​(com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper credentialsHelper,
                                                                        com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper)
                                                                 throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • doFillPolarisCredentialsIdItems

        public hudson.util.ListBoxModel doFillPolarisCredentialsIdItems()
      • doTestPolarisConnection

        @POST
        public hudson.util.FormValidation doTestPolarisConnection​(@QueryParameter("polarisUrl")
                                                                  java.lang.String polarisUrl,
                                                                  @QueryParameter("polarisCredentialsId")
                                                                  java.lang.String polarisCredentialsId,
                                                                  @QueryParameter("polarisTimeout")
                                                                  java.lang.String polarisTimeout)
      • doConfigDotXml

        @WebMethod(name="config.xml")
        public void doConfigDotXml​(org.kohsuke.stapler.StaplerRequest req,
                                   org.kohsuke.stapler.StaplerResponse rsp)
                            throws java.io.IOException,
                                   javax.servlet.ServletException,
                                   javax.xml.parsers.ParserConfigurationException
        Throws:
        java.io.IOException
        javax.servlet.ServletException
        javax.xml.parsers.ParserConfigurationException
      • createPolarisServerConfigBuilder

        public PolarisServerConfigBuilder createPolarisServerConfigBuilder​(com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper synopsysCredentialsHelper,
                                                                           com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper,
                                                                           java.lang.String polarisUrl,
                                                                           java.lang.String credentialsId,
                                                                           int timeout)