com.android.sdklib.internal.avd
Enum AvdManager.AvdConflict

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

public static enum AvdManager.AvdConflict
extends java.lang.Enum<AvdManager.AvdConflict>

Status returned by AvdManager.isAvdNameConflicting(String).


Enum Constant Summary
CONFLICT_EXISTING_AVD
          The AVD name conflicts with an existing valid AVD.
CONFLICT_EXISTING_PATH
          The AVD name does not conflict with any known AVD however there are files or directory that would cause a conflict if this were to be created.
CONFLICT_INVALID_AVD
          The AVD name conflicts with an existing invalid AVD.
NO_CONFLICT
          There is no known conflict for the given AVD name.
 
Method Summary
static AvdManager.AvdConflict valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AvdManager.AvdConflict[] 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

NO_CONFLICT

public static final AvdManager.AvdConflict NO_CONFLICT
There is no known conflict for the given AVD name.


CONFLICT_EXISTING_AVD

public static final AvdManager.AvdConflict CONFLICT_EXISTING_AVD
The AVD name conflicts with an existing valid AVD.


CONFLICT_INVALID_AVD

public static final AvdManager.AvdConflict CONFLICT_INVALID_AVD
The AVD name conflicts with an existing invalid AVD.


CONFLICT_EXISTING_PATH

public static final AvdManager.AvdConflict CONFLICT_EXISTING_PATH
The AVD name does not conflict with any known AVD however there are files or directory that would cause a conflict if this were to be created.

Method Detail

values

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

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

valueOf

public static AvdManager.AvdConflict 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