Enum AndroidServerFlag

    • Enum Constant Detail

      • BOOTSTRAP_PORT_NUMBER

        public static final AndroidServerFlag BOOTSTRAP_PORT_NUMBER
        Port to use on device to talk to Appium. Sample: --bootstrap-port 4724
      • SUPPRESS_ADB_KILL_SERVER

        public static final AndroidServerFlag SUPPRESS_ADB_KILL_SERVER
        If set, prevents Appium from killing the adb server instance. Default: false
      • CHROME_DRIVER_PORT

        public static final AndroidServerFlag CHROME_DRIVER_PORT
        Port upon which ChromeDriver will run. Sample: --chromedriver-port 9515
      • CHROME_DRIVER_EXECUTABLE

        public static final AndroidServerFlag CHROME_DRIVER_EXECUTABLE
        ChromeDriver executable full path.
    • Method Detail

      • values

        public static AndroidServerFlag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AndroidServerFlag c : AndroidServerFlag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AndroidServerFlag valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null