public class GridNodeConfiguration extends GridConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
GridNodeConfiguration.CollectionOfDesiredCapabilitiesDeSerializer |
static class |
GridNodeConfiguration.CollectionOfDesiredCapabilitiesSerializer |
Modifier and Type | Field and Description |
---|---|
java.util.List<org.openqa.selenium.remote.DesiredCapabilities> |
capabilities |
private java.lang.Object |
configuration
Deprecated.
|
static java.lang.String |
DEFAULT_NODE_CONFIG_FILE |
java.lang.Integer |
downPollingLimit |
java.lang.String |
hub |
(package private) java.lang.String |
hubHost |
(package private) java.lang.Integer |
hubPort |
java.lang.String |
id |
java.lang.String |
nodeConfigFile |
java.lang.Integer |
nodePolling |
java.lang.Integer |
nodeStatusCheckTimeout |
java.lang.String |
proxy |
java.lang.Boolean |
register |
java.lang.Integer |
registerCycle |
(package private) java.lang.String |
remoteHost |
java.lang.Integer |
unregisterIfStillDownAfter |
cleanUpCycle, custom, host, maxSession, servlets, withoutServlets
browserTimeout, debug, help, jettyMaxThreads, log, port, role, timeout
Constructor and Description |
---|
GridNodeConfiguration()
Init with built-in defaults
|
Modifier and Type | Method and Description |
---|---|
protected void |
addJsonTypeAdapter(com.google.gson.GsonBuilder builder) |
java.lang.String |
getHubHost() |
java.lang.Integer |
getHubPort() |
java.lang.String |
getRemoteHost() |
static GridNodeConfiguration |
loadFromJSON(com.google.gson.JsonObject json) |
static GridNodeConfiguration |
loadFromJSON(java.lang.String filePath) |
void |
merge(GridNodeConfiguration other) |
private void |
parseHubUrl() |
protected static void |
staticAddJsonTypeAdapter(com.google.gson.GsonBuilder builder) |
java.lang.String |
toString(java.lang.String format) |
isWithOutServlet, merge
isMergeAble, merge, toJson, toString, toString
public static final java.lang.String DEFAULT_NODE_CONFIG_FILE
public java.lang.String nodeConfigFile
java.lang.String remoteHost
@Deprecated private java.lang.Object configuration
java.lang.String hubHost
java.lang.Integer hubPort
public java.lang.String id
public java.util.List<org.openqa.selenium.remote.DesiredCapabilities> capabilities
public java.lang.Integer downPollingLimit
public java.lang.String hub
public java.lang.Integer nodePolling
public java.lang.Integer nodeStatusCheckTimeout
public java.lang.String proxy
public java.lang.Boolean register
public java.lang.Integer registerCycle
public java.lang.Integer unregisterIfStillDownAfter
public java.lang.String getHubHost()
public java.lang.Integer getHubPort()
public java.lang.String getRemoteHost()
private void parseHubUrl()
public void merge(GridNodeConfiguration other)
public java.lang.String toString(java.lang.String format)
toString
in class GridConfiguration
public static GridNodeConfiguration loadFromJSON(java.lang.String filePath)
filePath
- node config json file to load configuration frompublic static GridNodeConfiguration loadFromJSON(com.google.gson.JsonObject json)
json
- JsonObject to load configuration fromprotected void addJsonTypeAdapter(com.google.gson.GsonBuilder builder)
addJsonTypeAdapter
in class StandaloneConfiguration
protected static void staticAddJsonTypeAdapter(com.google.gson.GsonBuilder builder)