Package hudson.plugins.sauce_ondemand
Class SauceOnDemandBuildWrapper.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.DescriptorImpl
- Enclosing class:
- SauceOnDemandBuildWrapper
@Extension
public static class SauceOnDemandBuildWrapper.DescriptorImpl
extends Descriptor<BuildWrapper>
Plugin descriptor, which adds the plugin details to the Jenkins job configuration page.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoFillCredentialIdItems(Item item, String credentialId) Fills the credentials dropdown of the job configuration.List<com.saucelabs.ci.Browser>List<com.saucelabs.ci.Browser>Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<BuildWrapper>- Returns:
- text to be displayed within Jenkins job configuration
-
getAppiumBrowsers
- Returns:
- the list of supported Appium browsers
-
getWebDriverBrowsers
- Returns:
- the list of supported WebDriver browsers
-
getWebDriverMap
- Returns:
- the list of supported WebDriver browsers
-
getSauceConnectVersion
- Returns:
- Sauce Connect version
-
doFillCredentialIdItems
@POST public ListBoxModel doFillCredentialIdItems(@AncestorInPath Item item, @QueryParameter String credentialId) Fills the credentials dropdown of the job configuration. Only users allowed to see credentials in the job's context get the list; everybody else only gets the current value (SECURITY-3770).- Parameters:
item- the job being configuredcredentialId- the currently selected credentials id- Returns:
- the list of Sauce credentials the caller may choose from
-