java.lang.Objectjava.lang.Enum<Environment>
com.globalcharge.android.Environment
public enum Environment
Enum Constant Summary | |
---|---|
LOCAL
Fake out server requests and response. |
|
PRODUCTION
sends billing request to a production server. |
|
TEST
sends request a clone server of the production server. |
Method Summary | |
---|---|
static Environment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Environment[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Environment PRODUCTION
public static final Environment LOCAL
public static final Environment TEST
Method Detail |
---|
public static Environment[] values()
for (Environment c : Environment.values()) System.out.println(c);
public static Environment 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 name
java.lang.NullPointerException
- if the argument is null