@ExportedBean public abstract class AbstractSeleniumBrowser<T extends AbstractSeleniumBrowser<T> & hudson.model.Describable<T>> extends Object implements hudson.ExtensionPoint, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
paramBrowserName |
protected String |
paramMaxInstances |
protected String |
paramSeleniumProtocol |
protected String |
paramVersion |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSeleniumBrowser(org.openqa.grid.common.SeleniumProtocol protocol,
int instances,
String version,
String name) |
Modifier and Type | Method and Description |
---|---|
protected static void |
combine(List<String> options,
String key,
Object value)
Combine the key and value on the key=value form and add that form in the options list
|
protected static void |
combine(Map<String,String> args,
String key,
String value) |
protected Map<String,String> |
getJVMArgs() |
int |
getMaxInstances() |
String |
getName() |
String |
getProtocol() |
String |
getVersion() |
protected List<String> |
initBrowserOptions(hudson.model.Computer c,
SeleniumRunOptions options) |
void |
initOptions(hudson.model.Computer c,
SeleniumRunOptions opt) |
protected final transient String paramBrowserName
protected final transient String paramMaxInstances
protected final transient String paramVersion
protected final transient String paramSeleniumProtocol
@Exported public int getMaxInstances()
@Exported public String getVersion()
@Exported public String getName()
@Exported public String getProtocol()
protected static void combine(List<String> options, String key, Object value)
options
- List on which to add the key=value pairkey
- Key optionvalue
- Value optionpublic void initOptions(hudson.model.Computer c, SeleniumRunOptions opt)
protected List<String> initBrowserOptions(hudson.model.Computer c, SeleniumRunOptions options)
Copyright © 2016–2019. All rights reserved.