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
,OnMaster
@Extension public class Configuration extends GlobalConfiguration
-
-
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 Constructor Description Configuration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialsId(String value)
FormValidation
doCheckServerUrl(String value)
ListBoxModel
doFillCredentialsIdItems(ItemGroup context, String serverUrl, String credentialId)
ListBoxModel
doFillProxyCredentialsIdItems(ItemGroup context, String serverUrl, String credentialId)
FormValidation
doTestConnection(String serverUrl, String credentialsId, String proxy, String proxyCredentialsId)
static Configuration
get()
String
getCredentialsId()
String
getProxy()
String
getProxyCredentialsId()
String
getSender()
String
getServerUrl()
void
setCredentialsId(String credentialsId)
void
setProxy(String proxy)
void
setProxyCredentialsId(String proxyCredentialsId)
void
setSender(String sender)
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
get
public static Configuration get()
- Returns:
- the singleton instance
-
getServerUrl
@CheckForNull public String getServerUrl()
-
setServerUrl
@DataBoundSetter public void setServerUrl(String serverUrl)
-
getSender
public String getSender()
-
setSender
@DataBoundSetter public void setSender(String sender)
-
getCredentialsId
@CheckForNull public String getCredentialsId()
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(String credentialsId)
-
getProxy
public String getProxy()
-
setProxy
@DataBoundSetter public void setProxy(String proxy)
-
getProxyCredentialsId
public String getProxyCredentialsId()
-
setProxyCredentialsId
@DataBoundSetter public void setProxyCredentialsId(String proxyCredentialsId)
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@QueryParameter String value)
-
doCheckServerUrl
public FormValidation doCheckServerUrl(@QueryParameter String value)
-
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)
-
-