com.hp.lft.sdk.mobile

Enum DeviceSource

  • java.lang.Object
    • java.lang.Enum<DeviceSource>
      • com.hp.lft.sdk.mobile.DeviceSource
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DeviceSource>


    public enum DeviceSource
    extends java.lang.Enum<DeviceSource>
    The source location of the device.
    • Enum Constant Summary

      Enum Constants and Descriptions
      UFT Developer 24.2 or later

      UFT Developer 23.4

      To support the previously used values, contact support for a hotfix.

      UFT Developer 2023 or earlier
      AMAZON_DEVICE_FARM
      Device is stored on an AWS Device Farm.

      AWS
      Device is stored on an AWS Device Farm.
      AMAZON_DEVICE_FARM
      Device is stored on an AWS Device Farm.
      ANY
      The device is stored or provided by any of the supported sources.
      ANY
      Device is stored on Digital Lab (UFT Mobile) or AWS Device Farm.
      ANY
      Device is stored on Digital Lab (UFT Mobile) or AWS Device Farm.
      HOSTED
      The device is hosted by OpenText
      Not supportedNot supported
      GENYCLOUD
      The device is provided by a Tencent WeTest device farm.
      Not supportedNot supported
      ON_PREMISES
      The device is stored on Digital Lab (UFT Mobile).

      (MOBILE_CENTER supported for backward compatibility)
      ON_PREMISES
      The device is stored on Digital Lab (UFT Mobile).
      MOBILE_CENTER
      The device is stored on Digital Lab (UFT Mobile).
      WETEST
      The device is provided by a Tencent WeTest device farm.
      Not supportedNot supported
    • Method Summary

      Modifier and TypeMethod and Description
      static DeviceSourcevalueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DeviceSource[]values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • AMAZON_DEVICE_FARM

        Not supported on UFT Developer 23.4.
        public static final DeviceSource AMAZON_DEVICE_FARM
        The evice is stored on an AWS Device Farm.
      • AWS

        Supported on UFT Developer 23.4.
        public static final DeviceSource AWS
        The device is stored on an AWS Device Farm.
      • ANY

        public static final DeviceSource ANY
        The device is stored or provided by any of the supported sources.
      • GENYCLOUD

        Supported on UFT Developer 24.2 and later.
        public static final DeviceSource GENYCLOUD
        The device is provided by Genymotion.
      • HOSTED

        Supported on UFT Developer 24.2 and later.
        public static final DeviceSource HOSTED
        The device is hosted by OpenText.
      • MOBILE_CENTER

        Supported on UFT Developer 2023 and earlier.
        public static final DeviceSource MOBILE_CENTER
        The device is stored on Digital Lab (UFT Mobile).
        UFT Developer 24.2 and later: This value is supported for backward compatibility
      • ON_PREMISES

        Supported on UFT Developer 23.4 and later.
        public static final DeviceSource ON_PREMISES
        The device is stored on Digital Lab (UFT Mobile).
      • WETEST

        Supported on UFT Developer 24.2 and later.
        public static final DeviceSource WETEST
        The device is provided by a Tencent WeTest device farm.
    • Method Detail

      • values

        public static DeviceSource[] 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 (DeviceSource c : DeviceSource.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DeviceSource 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