com.hp.lft.sdk.mobile

Enum 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 Mobile Center, an AWS Device Farm, or StormRunner Functional (SRF).
      MOBILE_CENTER
      Device is stored on Mobile Center.
      SRF_DEVICE_LAB
      Device is stored on StormRunner Functional (SRF).
      (From LeanFT 14.51)
    • Method Summary

      Modifier and Type Method and Description
      static DeviceSource valueOf(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 Mobile Center or an AWS Device Farm.
      • MOBILE_CENTER

        public static final DeviceSource MOBILE_CENTER
        Device is stored on Mobile Center.
      • SRF_DEVICE_LAB

        public static final DeviceSource SRF_DEVICE_LAB
        Device is stored on StormRunner Functional (SRF).

        (From LeanFT 14.51)

    • 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