Package com.testdroid.jenkins
Class TestdroidCloudSettings.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<TestdroidCloudSettings>
com.testdroid.jenkins.TestdroidCloudSettings.DescriptorImpl
- Enclosing class:
- TestdroidCloudSettings
@Extension
public static class TestdroidCloudSettings.DescriptorImpl
extends Descriptor<TestdroidCloudSettings>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
ConstructorsConstructorDescriptionRecreate a CloudSettings object from a serialized task. -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) doAuthorize(String credentialsId, String cloudUrl, boolean noCheckCertificate, boolean isProxy, String proxyHost, Integer proxyPort, String proxyUser, String proxyPassword) booleanReturns proxy password in decrypted forminthashCode()voidsave()voidsetCloudUrl(String cloudUrl) voidsetCredentialsId(String credentialsId) voidsetIsProxy(Boolean isProxy) voidsetNoCheckCertificate(Boolean noCheckCertificate) voidsetProxyHost(String proxyHost) voidsetProxyPassword(String proxyPassword) voidsetProxyPort(Integer proxyPort) voidsetProxyUser(String proxyUser) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl() -
DescriptorImpl
Recreate a CloudSettings object from a serialized task. Note: this is not a full set of params, which is ok... mostly
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<TestdroidCloudSettings>
-
save
public void save()- Specified by:
savein interfaceSaveable- Overrides:
savein classDescriptor<TestdroidCloudSettings>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classDescriptor<TestdroidCloudSettings>- Throws:
Descriptor.FormException
-
doAuthorize
@POST public FormValidation doAuthorize(@QueryParameter String credentialsId, @QueryParameter String cloudUrl, @QueryParameter boolean noCheckCertificate, @QueryParameter boolean isProxy, @QueryParameter String proxyHost, @QueryParameter Integer proxyPort, @QueryParameter String proxyUser, @QueryParameter String proxyPassword) -
doFillCredentialsIdItems
-
equals
-
hashCode
public int hashCode() -
getCloudUrl
-
setCloudUrl
-
getNoCheckCertificate
-
setNoCheckCertificate
-
getIsProxy
-
setIsProxy
-
getProxyHost
-
setProxyHost
-
getProxyPort
-
setProxyPort
-
getProxyUser
-
setProxyUser
-
getProxyPassword
Returns proxy password in decrypted form -
setProxyPassword
-
getCredentialsId
-
setCredentialsId
-