Package nl.vpro.web.servlet
Enum ConfigurationServlet.Environment
- java.lang.Object
-
- java.lang.Enum<ConfigurationServlet.Environment>
-
- nl.vpro.web.servlet.ConfigurationServlet.Environment
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationServlet.Environment>
- Enclosing class:
- ConfigurationServlet
protected static enum ConfigurationServlet.Environment extends Enum<ConfigurationServlet.Environment>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigurationServlet.Environment
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigurationServlet.Environment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROD
public static final ConfigurationServlet.Environment PROD
-
TEST
public static final ConfigurationServlet.Environment TEST
-
ACC
public static final ConfigurationServlet.Environment ACC
-
DEV
public static final ConfigurationServlet.Environment DEV
-
-
Method Detail
-
values
public static ConfigurationServlet.Environment[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigurationServlet.Environment c : ConfigurationServlet.Environment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationServlet.Environment valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-