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

      ANY
      The device is stored or provided by any of the supported sources.
      HOSTED
      The device is hosted by OpenText
      GENYCLOUD
      The device is provided by a Tencent WeTest device farm.
      ON_PREMISES
      The device is stored on Digital Lab.

      (MOBILE_CENTER supported for backward compatibility)
      WETEST
      The device is provided by a Tencent WeTest device farm.
    • 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
        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

        public static final DeviceSource GENYCLOUD
        The device is provided by Genymotion.
      • HOSTED

        public static final DeviceSource HOSTED
        The device is hosted by OpenText.
      • MOBILE_CENTER

        public static final DeviceSource MOBILE_CENTER
        The device is stored on Digital Lab.
        This value is supported for backward compatibility
      • ON_PREMISES

        public static final DeviceSource ON_PREMISES
        The device is stored on Digital Lab.
      • WETEST

        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