public static enum Environment.NamedEnv extends Enum<Environment.NamedEnv>
Environment
Enum Constant and Description |
---|
DEV |
IDE |
PROD |
SAMPLE |
STAGE |
TEST |
UNIT_TEST |
Modifier and Type | Method and Description |
---|---|
static Environment.NamedEnv |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Environment.NamedEnv[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Environment.NamedEnv DEV
public static final Environment.NamedEnv IDE
public static final Environment.NamedEnv UNIT_TEST
public static final Environment.NamedEnv SAMPLE
public static final Environment.NamedEnv TEST
public static final Environment.NamedEnv STAGE
public static final Environment.NamedEnv PROD
public static Environment.NamedEnv[] values()
for (Environment.NamedEnv c : Environment.NamedEnv.values()) System.out.println(c);
public static Environment.NamedEnv 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 © 2010–2016 AdroitLogic. All rights reserved.