Class Configuration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.iktech.jenkins.plugins.artifactz.Configuration
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,Loadable
,OnMaster
-
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 TypeMethodDescriptiondoCheckCredentialsId
(String value) doCheckServerUrl
(String value) doFillCredentialsIdItems
(ItemGroup context, String serverUrl, String credentialId) doFillProxyCredentialsIdItems
(ItemGroup context, String serverUrl, String credentialId) doTestConnection
(String serverUrl, String credentialsId, String proxy, String proxyCredentialsId) static Configuration
get()
getProxy()
void
setCredentialsId
(String credentialsId) void
void
setProxyCredentialsId
(String proxyCredentialsId) void
void
setServerUrl
(String serverUrl) 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
get
- Returns:
- the singleton instance
-
getServerUrl
-
setServerUrl
-
getSender
-
setSender
-
getCredentialsId
-
setCredentialsId
-
getProxy
-
setProxy
-
getProxyCredentialsId
-
setProxyCredentialsId
-
doCheckCredentialsId
-
doCheckServerUrl
-
doTestConnection
public FormValidation doTestConnection(@QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String proxy, @QueryParameter String proxyCredentialsId) throws Exception - Throws:
Exception
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath ItemGroup context, @QueryParameter String serverUrl, String credentialId) -
doFillProxyCredentialsIdItems
public ListBoxModel doFillProxyCredentialsIdItems(@AncestorInPath ItemGroup context, @QueryParameter String serverUrl, String credentialId)
-