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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBoxModel
doFillCredentialIdItems(ItemGroup<?> context)
List<com.saucelabs.ci.Browser>
getAppiumBrowsers()
String
getDisplayName()
String
getSauceConnectVersion()
List<com.saucelabs.ci.Browser>
getWebDriverBrowsers()
Map<String,List<com.saucelabs.ci.Browser>>
getWebDriverMap()
-
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
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
- Returns:
- text to be displayed within Jenkins job configuration
-
getAppiumBrowsers
public List<com.saucelabs.ci.Browser> getAppiumBrowsers()
- Returns:
- the list of supported Appium browsers
-
getWebDriverBrowsers
public List<com.saucelabs.ci.Browser> getWebDriverBrowsers()
- Returns:
- the list of supported WebDriver browsers
-
getWebDriverMap
public Map<String,List<com.saucelabs.ci.Browser>> getWebDriverMap()
- Returns:
- the list of supported WebDriver browsers
-
getSauceConnectVersion
public String getSauceConnectVersion()
- Returns:
- Sauce Connect version
-
doFillCredentialIdItems
public ListBoxModel doFillCredentialIdItems(@AncestorInPath ItemGroup<?> context)
- Parameters:
context
- Project/parent- Returns:
- the list of supported credentials
-
-