public static enum AndroidLocation.EnvVar extends java.lang.Enum<AndroidLocation.EnvVar>
System.getProperty(String) or System.getenv() or both.| Enum Constant and Description |
|---|
ANDROID_AVD_HOME |
ANDROID_SDK_HOME |
HOME |
USER_HOME |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
validatePath(boolean silent) |
static AndroidLocation.EnvVar |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AndroidLocation.EnvVar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AndroidLocation.EnvVar ANDROID_AVD_HOME
public static final AndroidLocation.EnvVar ANDROID_SDK_HOME
public static final AndroidLocation.EnvVar USER_HOME
public static final AndroidLocation.EnvVar HOME
public static AndroidLocation.EnvVar[] values()
for (AndroidLocation.EnvVar c : AndroidLocation.EnvVar.values()) System.out.println(c);
public static AndroidLocation.EnvVar valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
@Nullable
public java.lang.String validatePath(boolean silent)
throws AndroidLocation.AndroidLocationException