Class PolarisGlobalConfig
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
com.blackduck.integration.jenkins.polaris.extensions.global.PolarisGlobalConfig
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,Serializable
,Loadable
,OnMaster
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePolarisServerConfigBuilder
(com.blackduck.integration.jenkins.wrapper.BlackduckCredentialsHelper blackduckCredentialsHelper, com.blackduck.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper, String polarisUrl, String credentialsId, int timeout) void
doConfigDotXml
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) doTestPolarisConnection
(String polarisUrl, String polarisCredentialsId, String polarisTimeout) getPolarisServerConfig
(com.blackduck.integration.jenkins.wrapper.BlackduckCredentialsHelper credentialsHelper, com.blackduck.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper) getPolarisServerConfigBuilder
(com.blackduck.integration.jenkins.wrapper.BlackduckCredentialsHelper credentialsHelper, com.blackduck.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper) int
void
setPolarisCredentialsId
(String polarisCredentialsId) void
setPolarisTimeout
(int polarisTimeout) void
setPolarisUrl
(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
-
Constructor Details
-
PolarisGlobalConfig
@DataBoundConstructor public PolarisGlobalConfig()
-
-
Method Details
-
getPolarisUrl
-
setPolarisUrl
-
getPolarisCredentialsId
-
setPolarisCredentialsId
-
getPolarisTimeout
public int getPolarisTimeout() -
setPolarisTimeout
@DataBoundSetter public void setPolarisTimeout(int polarisTimeout) -
getPolarisServerConfig
public PolarisServerConfig getPolarisServerConfig(com.blackduck.integration.jenkins.wrapper.BlackduckCredentialsHelper credentialsHelper, com.blackduck.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
getPolarisServerConfigBuilder
public PolarisServerConfigBuilder getPolarisServerConfigBuilder(com.blackduck.integration.jenkins.wrapper.BlackduckCredentialsHelper credentialsHelper, com.blackduck.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
doFillPolarisCredentialsIdItems
-
doTestPolarisConnection
@POST public FormValidation doTestPolarisConnection(@QueryParameter("polarisUrl") String polarisUrl, @QueryParameter("polarisCredentialsId") String polarisCredentialsId, @QueryParameter("polarisTimeout") String polarisTimeout) -
doConfigDotXml
@WebMethod(name="config.xml") public void doConfigDotXml(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException, ParserConfigurationException - Throws:
IOException
javax.servlet.ServletException
ParserConfigurationException
-
createPolarisServerConfigBuilder
public PolarisServerConfigBuilder createPolarisServerConfigBuilder(com.blackduck.integration.jenkins.wrapper.BlackduckCredentialsHelper blackduckCredentialsHelper, com.blackduck.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper, String polarisUrl, String credentialsId, int timeout)
-