Class DetectGlobalConfig

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

    @Extension
    public class DetectGlobalConfig
    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
      void doConfigDotXml​(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)  
      hudson.util.ListBoxModel doFillBlackDuckCredentialsIdItems()  
      hudson.util.FormValidation doTestBlackDuckConnection​(java.lang.String blackDuckUrl, java.lang.String blackDuckCredentialsId, java.lang.String blackDuckTimeout, boolean trustBlackDuckCertificates)  
      java.util.Collection<hudson.model.Descriptor<DetectDownloadStrategy>> getAllowedDownloadStrategyDescriptors()  
      java.lang.String getBlackDuckCredentialsId()  
      com.synopsys.integration.blackduck.configuration.BlackDuckServerConfig getBlackDuckServerConfig​(com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper, com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper synopsysCredentialsHelper)  
      com.synopsys.integration.blackduck.configuration.BlackDuckServerConfigBuilder getBlackDuckServerConfigBuilder​(com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper, com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper synopsysCredentialsHelper)  
      int getBlackDuckTimeout()  
      java.lang.String getBlackDuckUrl()  
      DetectDownloadStrategy getDefaultDownloadStrategy()  
      DetectDownloadStrategy getDownloadStrategy()  
      boolean getTrustBlackDuckCertificates()  
      void setBlackDuckCredentialsId​(java.lang.String blackDuckCredentialsId)  
      void setBlackDuckTimeout​(int blackDuckTimeout)  
      void setBlackDuckUrl​(java.lang.String blackDuckUrl)  
      void setDownloadStrategy​(DetectDownloadStrategy downloadStrategy)  
      void setTrustBlackDuckCertificates​(boolean trustBlackDuckCertificates)  
      • Methods inherited from class jenkins.model.GlobalConfiguration

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

        addHelpFileRedirect, bindJSON, 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, getRequiredGlobalConfigPagePermission, 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

      • DetectGlobalConfig

        @DataBoundConstructor
        public DetectGlobalConfig()
    • Method Detail

      • getBlackDuckUrl

        public java.lang.String getBlackDuckUrl()
      • setBlackDuckUrl

        @DataBoundSetter
        public void setBlackDuckUrl​(java.lang.String blackDuckUrl)
      • getBlackDuckTimeout

        public int getBlackDuckTimeout()
      • setBlackDuckTimeout

        @DataBoundSetter
        public void setBlackDuckTimeout​(int blackDuckTimeout)
      • getBlackDuckCredentialsId

        public java.lang.String getBlackDuckCredentialsId()
      • setBlackDuckCredentialsId

        @DataBoundSetter
        public void setBlackDuckCredentialsId​(java.lang.String blackDuckCredentialsId)
      • getTrustBlackDuckCertificates

        public boolean getTrustBlackDuckCertificates()
      • setTrustBlackDuckCertificates

        @DataBoundSetter
        public void setTrustBlackDuckCertificates​(boolean trustBlackDuckCertificates)
      • setDownloadStrategy

        @DataBoundSetter
        public void setDownloadStrategy​(DetectDownloadStrategy downloadStrategy)
      • getAllowedDownloadStrategyDescriptors

        public java.util.Collection<hudson.model.Descriptor<DetectDownloadStrategy>> getAllowedDownloadStrategyDescriptors()
      • getBlackDuckServerConfig

        public com.synopsys.integration.blackduck.configuration.BlackDuckServerConfig getBlackDuckServerConfig​(com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper,
                                                                                                               com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper synopsysCredentialsHelper)
      • getBlackDuckServerConfigBuilder

        public com.synopsys.integration.blackduck.configuration.BlackDuckServerConfigBuilder getBlackDuckServerConfigBuilder​(com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper,
                                                                                                                             com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper synopsysCredentialsHelper)
      • doFillBlackDuckCredentialsIdItems

        public hudson.util.ListBoxModel doFillBlackDuckCredentialsIdItems()
      • doTestBlackDuckConnection

        @POST
        public hudson.util.FormValidation doTestBlackDuckConnection​(@QueryParameter("blackDuckUrl")
                                                                    java.lang.String blackDuckUrl,
                                                                    @QueryParameter("blackDuckCredentialsId")
                                                                    java.lang.String blackDuckCredentialsId,
                                                                    @QueryParameter("blackDuckTimeout")
                                                                    java.lang.String blackDuckTimeout,
                                                                    @QueryParameter("trustBlackDuckCertificates")
                                                                    boolean trustBlackDuckCertificates)
      • 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