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
ConstructorDescriptionRecreate a CloudSettings object from a serialized task. -
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(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) boolean
Returns proxy password in decrypted formint
hashCode()
void
save()
void
setCloudUrl
(String cloudUrl) void
setCredentialsId
(String credentialsId) void
setIsProxy
(Boolean isProxy) void
setNoCheckCertificate
(Boolean noCheckCertificate) void
setProxyHost
(String proxyHost) void
setProxyPassword
(String proxyPassword) void
setProxyPort
(Integer proxyPort) void
setProxyUser
(String proxyUser) 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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, 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:
getDisplayName
in classDescriptor<TestdroidCloudSettings>
-
save
public void save()- Specified by:
save
in interfaceSaveable
- Overrides:
save
in classDescriptor<TestdroidCloudSettings>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configure
in 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
-