public enum AndroidServerFlag extends Enum<AndroidServerFlag> implements ServerArgument
Enum Constant and Description |
---|
BOOTSTRAP_PORT_NUMBER
Port to use on device to talk to Appium.
|
CHROME_DRIVER_EXECUTABLE
ChromeDriver executable full path.
|
CHROME_DRIVER_PORT
Port upon which ChromeDriver will run.
|
SELENDROID_PORT
Local port used for communication with Selendroid.
|
SUPPRESS_ADB_KILL_SERVER
If set, prevents Appium from killing the adb server
instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getArgument() |
static AndroidServerFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AndroidServerFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AndroidServerFlag BOOTSTRAP_PORT_NUMBER
public static final AndroidServerFlag SELENDROID_PORT
public static final AndroidServerFlag SUPPRESS_ADB_KILL_SERVER
public static final AndroidServerFlag CHROME_DRIVER_PORT
public static final AndroidServerFlag CHROME_DRIVER_EXECUTABLE
public static AndroidServerFlag[] values()
for (AndroidServerFlag c : AndroidServerFlag.values()) System.out.println(c);
public static AndroidServerFlag 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 getArgument()
getArgument
in interface ServerArgument
Copyright © 2016. All rights reserved.