Class PolarisGlobalConfig
- java.lang.Object
-
- hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
-
- jenkins.model.GlobalConfiguration
-
- com.synopsys.integration.jenkins.polaris.extensions.global.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
-
-
Constructor Summary
Constructors Constructor Description PolarisGlobalConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolarisServerConfigBuildercreatePolarisServerConfigBuilder(com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper synopsysCredentialsHelper, com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper, java.lang.String polarisUrl, java.lang.String credentialsId, int timeout)voiddoConfigDotXml(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)hudson.util.ListBoxModeldoFillPolarisCredentialsIdItems()hudson.util.FormValidationdoTestPolarisConnection(java.lang.String polarisUrl, java.lang.String polarisCredentialsId, java.lang.String polarisTimeout)java.lang.StringgetPolarisCredentialsId()PolarisServerConfiggetPolarisServerConfig(com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper credentialsHelper, com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper)PolarisServerConfigBuildergetPolarisServerConfigBuilder(com.synopsys.integration.jenkins.wrapper.SynopsysCredentialsHelper credentialsHelper, com.synopsys.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper)intgetPolarisTimeout()java.lang.StringgetPolarisUrl()voidsetPolarisCredentialsId(java.lang.String polarisCredentialsId)voidsetPolarisTimeout(int polarisTimeout)voidsetPolarisUrl(java.lang.String polarisUrl)-
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
-
-
-
-
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.IOExceptionjavax.servlet.ServletExceptionjavax.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)
-
-