org.openqa.grid.internal.utils
Class GridNodeConfiguration
java.lang.Object
org.openqa.grid.internal.utils.GridNodeConfiguration
public class GridNodeConfiguration
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HOST
public static final String HOST
- The hub needs to know its hostname in order to write the proper Location header for the request
being forwarded. Usually this can be guessed correctly, but in case it cannot it can be passed
via this config param.
- See Also:
- Constant Field Values
HUB_HOST
public static final String HUB_HOST
- See Also:
- Constant Field Values
PORT
public static final String PORT
- port for the hub.
- See Also:
- Constant Field Values
CYCLE
public static final String CYCLE
- how often in ms each proxy will detect that a session has timed out. All new proxy registering
will have that value if they don't specifically mention the parameter.
- See Also:
- Constant Field Values
TIME_OUT
public static final String TIME_OUT
- how long can a session be idle before being considered timed out. Working together with cleanup
cycle. Worst case scenario, a session can be idle for timout + cleanup cycle before the timeout
is detected
- See Also:
- Constant Field Values
MAX_CONCURRENT
public static final String MAX_CONCURRENT
- See Also:
- Constant Field Values
SERVLETS
public static final String SERVLETS
- See Also:
- Constant Field Values
GridNodeConfiguration
public GridNodeConfiguration()
build
public static GridNodeConfiguration build(String[] args)
getRegistrationRequest
public org.json.JSONObject getRegistrationRequest()
getRole
public GridRole getRole()
setRole
public void setRole(GridRole role)
getRemoteControlConfiguration
public RemoteControlConfiguration getRemoteControlConfiguration()
getArgs
public String[] getArgs()
getCapabilities
public List<org.openqa.selenium.remote.DesiredCapabilities> getCapabilities()
getConfiguration
public Map<String,Object> getConfiguration()
getHost
public String getHost()
getPort
public int getPort()
getHubHost
public String getHubHost()
Copyright © 2012. All Rights Reserved.