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.SelfNested 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) voiddoConfigDotXml(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) intvoidsetPolarisCredentialsId(String polarisCredentialsId) voidsetPolarisTimeout(int polarisTimeout) voidsetPolarisUrl(String polarisUrl) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPageMethods 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:
IOExceptionjavax.servlet.ServletExceptionParserConfigurationException
-
createPolarisServerConfigBuilder
public PolarisServerConfigBuilder createPolarisServerConfigBuilder(com.blackduck.integration.jenkins.wrapper.BlackduckCredentialsHelper blackduckCredentialsHelper, com.blackduck.integration.jenkins.wrapper.JenkinsProxyHelper jenkinsProxyHelper, String polarisUrl, String credentialsId, int timeout)
-