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
      AMAZON_DEVICE_FARM
      Device is stored on an AWS Device Farm.
      ANY
      Device is stored on UFT Mobileor AWS Device Farm.
      MOBILE_CENTER
      Device is stored on 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

        public static final DeviceSource AMAZON_DEVICE_FARM
        Device is stored on an AWS Device Farm.
      • ANY

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

        public static final DeviceSource MOBILE_CENTER
        Device is stored on 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