public enum ApplicationEnvironment extends Enum<ApplicationEnvironment>
ApplicationContextInfo.| Enum Constant and Description |
|---|
ACCEPTANCE |
DEVELOPMENT |
PRODUCTION |
STAGING |
TEST |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationEnvironment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationEnvironment DEVELOPMENT
public static final ApplicationEnvironment TEST
public static final ApplicationEnvironment STAGING
public static final ApplicationEnvironment ACCEPTANCE
public static final ApplicationEnvironment PRODUCTION
public static ApplicationEnvironment[] values()
for (ApplicationEnvironment c : ApplicationEnvironment.values()) System.out.println(c);
public static ApplicationEnvironment 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 nullCopyright © 2017. All rights reserved.