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 Constant and Description

      UFT Developer 23.4

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

      UFT Developer 2023 or earlier
      AWS
      Device is stored on an AWS Device Farm.
      AMAZON_DEVICE_FARM
      Device is stored on an AWS Device Farm.
      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.
      ON_PREMISES
      Device is stored on Digital Lab (UFT Mobile).
      MOBILE_CENTER
      Device is stored on Digital Lab (UFT Mobile).
    • 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

        Supported on UFT Developer 2023 and earlier.
        public static final DeviceSource AMAZON_DEVICE_FARM
        Device is stored on an AWS Device Farm.
      • AWS

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

        public static final DeviceSource ANY
        Device is stored either on Digital Lab (UFT Mobile) or an AWS Device Farm.
      • MOBILE_CENTER

        Supported on UFT Developer 2023 and earlier.
        public static final DeviceSource MOBILE_CENTER
        Device is stored on Digital Lab (UFT Mobile).
      • ON_PREMISES

        Supported on UFT Developer 23.4 and later.
        public static final DeviceSource ON_PREMISES
        Device is stored on Digital Lab (UFT Mobile).
    • 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