public static enum ConfigFetch.Environment extends java.lang.Enum<ConfigFetch.Environment>
Enum Constant and Description |
---|
DEVELOPMENT |
PRODUCTION |
Modifier and Type | Method and Description |
---|---|
static ConfigFetch.Environment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigFetch.Environment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigFetch.Environment PRODUCTION
public static final ConfigFetch.Environment DEVELOPMENT
public static ConfigFetch.Environment[] values()
for (ConfigFetch.Environment c : ConfigFetch.Environment.values()) System.out.println(c);
public static ConfigFetch.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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.