public enum AndroidServerFlag extends java.lang.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.
|
REBOOT |
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 |
---|---|
java.lang.String |
getArgument() |
static AndroidServerFlag |
valueOf(java.lang.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 final AndroidServerFlag REBOOT
public static AndroidServerFlag[] values()
for (AndroidServerFlag c : AndroidServerFlag.values()) System.out.println(c);
public static AndroidServerFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getArgument()
getArgument
in interface ServerArgument