public static enum Application.Mode extends Enum<Application.Mode>
| Enum Constant and Description | 
|---|
development
Should be used during development. 
 | 
production
Should be used in production. 
 | 
staging
Should be used in QA environments, and other production-like settings where different set of external
 resources are utilized. 
 | 
test
Should be used for unit test runs. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Application.Mode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Application.Mode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Application.Mode test
public static final Application.Mode development
public static final Application.Mode staging
public static final Application.Mode production
public static Application.Mode[] values()
for (Application.Mode c : Application.Mode.values()) System.out.println(c);
public static Application.Mode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null