com.android.sdklib.internal.avd
Enum AvdInfo.AvdStatus

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

public static enum AvdInfo.AvdStatus
extends java.lang.Enum<AvdInfo.AvdStatus>

Status for an AvdInfo. Indicates whether or not this AVD is valid.


Enum Constant Summary
ERROR_CONFIG
          Missing config.ini file in the AVD data folder
ERROR_DEVICE_CHANGED
          The Device this AVD is based on has changed from its original configuration
ERROR_DEVICE_MISSING
          The Device this AVD is based on is no longer available
ERROR_IMAGE_DIR
          System Image folder in config.ini doesn't exist
ERROR_PATH
          Missing 'path' property in the ini file
ERROR_PROPERTIES
          Unable to parse config.ini
ERROR_TARGET
          Target was not resolved from its hash
ERROR_TARGET_HASH
          Missing 'target' property in the ini file
OK
          No error
 
Method Summary
static AvdInfo.AvdStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AvdInfo.AvdStatus[] 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

OK

public static final AvdInfo.AvdStatus OK
No error


ERROR_PATH

public static final AvdInfo.AvdStatus ERROR_PATH
Missing 'path' property in the ini file


ERROR_CONFIG

public static final AvdInfo.AvdStatus ERROR_CONFIG
Missing config.ini file in the AVD data folder


ERROR_TARGET_HASH

public static final AvdInfo.AvdStatus ERROR_TARGET_HASH
Missing 'target' property in the ini file


ERROR_TARGET

public static final AvdInfo.AvdStatus ERROR_TARGET
Target was not resolved from its hash


ERROR_PROPERTIES

public static final AvdInfo.AvdStatus ERROR_PROPERTIES
Unable to parse config.ini


ERROR_IMAGE_DIR

public static final AvdInfo.AvdStatus ERROR_IMAGE_DIR
System Image folder in config.ini doesn't exist


ERROR_DEVICE_CHANGED

public static final AvdInfo.AvdStatus ERROR_DEVICE_CHANGED
The Device this AVD is based on has changed from its original configuration


ERROR_DEVICE_MISSING

public static final AvdInfo.AvdStatus ERROR_DEVICE_MISSING
The Device this AVD is based on is no longer available

Method Detail

values

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

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

valueOf

public static AvdInfo.AvdStatus 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