com.android.sdklib.internal.avd
Enum HardwareProperties.HardwarePropertyType

java.lang.Object
  extended by java.lang.Enum<HardwareProperties.HardwarePropertyType>
      extended by com.android.sdklib.internal.avd.HardwareProperties.HardwarePropertyType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HardwareProperties.HardwarePropertyType>
Enclosing class:
HardwareProperties

public static enum HardwareProperties.HardwarePropertyType
extends java.lang.Enum<HardwareProperties.HardwarePropertyType>

Represents the type of a hardware property value.


Enum Constant Summary
BOOLEAN
           
DISKSIZE
           
INTEGER
           
INTEGER_ENUM
           
STRING
           
STRING_ENUM
           
 
Method Summary
static HardwareProperties.HardwarePropertyType getEnum(java.lang.String name, boolean isEnum)
          Returns the internal HardwarePropertyType object matching the given type name.
 java.lang.String getName()
          Returns the name of the type (e.g.
 boolean isEnum()
          Indicates whether this type is an enum (e.g.
static HardwareProperties.HardwarePropertyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HardwareProperties.HardwarePropertyType[] 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

INTEGER

public static final HardwareProperties.HardwarePropertyType INTEGER

BOOLEAN

public static final HardwareProperties.HardwarePropertyType BOOLEAN

DISKSIZE

public static final HardwareProperties.HardwarePropertyType DISKSIZE

STRING

public static final HardwareProperties.HardwarePropertyType STRING

INTEGER_ENUM

public static final HardwareProperties.HardwarePropertyType INTEGER_ENUM

STRING_ENUM

public static final HardwareProperties.HardwarePropertyType STRING_ENUM
Method Detail

values

public static HardwareProperties.HardwarePropertyType[] 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 (HardwareProperties.HardwarePropertyType c : HardwareProperties.HardwarePropertyType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HardwareProperties.HardwarePropertyType 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

getName

public java.lang.String getName()
Returns the name of the type (e.g. "string", "boolean", etc.)


isEnum

public boolean isEnum()
Indicates whether this type is an enum (e.g. "enum of strings").


getEnum

public static HardwareProperties.HardwarePropertyType getEnum(java.lang.String name,
                                                              boolean isEnum)
Returns the internal HardwarePropertyType object matching the given type name.