public enum RuntimeParameters extends Enum<RuntimeParameters> implements IRuntimeParameters
| Enum Constant and Description |
|---|
APP |
AUTOMATION_NAME |
BROWSER_NAME |
DEVICE_NAME |
DEVICE_OPTIONS |
DEVICE_URL |
NEW_COMMAND_TIMEOUT |
PLATFORM_NAME |
PLATFORM_VERSION |
| Modifier and Type | Field and Description |
|---|---|
protected String |
paramValue |
| Modifier and Type | Method and Description |
|---|---|
protected static Object |
convertToCorrectType(String value) |
String |
getKey() |
String |
getValue() |
Map<String,Object> |
getValues() |
void |
refreshParameterValue() |
String |
toString() |
static RuntimeParameters |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeParameters[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeParameters DEVICE_URL
public static final RuntimeParameters AUTOMATION_NAME
public static final RuntimeParameters PLATFORM_NAME
public static final RuntimeParameters PLATFORM_VERSION
public static final RuntimeParameters DEVICE_NAME
public static final RuntimeParameters APP
public static final RuntimeParameters BROWSER_NAME
public static final RuntimeParameters NEW_COMMAND_TIMEOUT
public static final RuntimeParameters DEVICE_OPTIONS
protected String paramValue
public static RuntimeParameters[] values()
for (RuntimeParameters c : RuntimeParameters.values()) System.out.println(c);
public static RuntimeParameters valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
getValue in interface IRuntimeParameterspublic String getKey()
getKey in interface IRuntimeParameterspublic String toString()
toString in class Enum<RuntimeParameters>public void refreshParameterValue()
refreshParameterValue in interface IRuntimeParametersCopyright © 2022 Capgemini - Software Solution Center. All rights reserved.