@Authors(value="Nikolche Mihajlovski") @Since(value="5.2.0") public enum EnvMode extends Enum<EnvMode>
| Enum Constant and Description |
|---|
DEV |
PRODUCTION |
TEST |
| Modifier and Type | Method and Description |
|---|---|
static EnvMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnvMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvMode DEV
public static final EnvMode TEST
public static final EnvMode PRODUCTION
public static EnvMode[] values()
for (EnvMode c : EnvMode.values()) System.out.println(c);
public static EnvMode 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 © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.