public static enum RuntimeServlet.RunMode extends Enum<RuntimeServlet.RunMode>
Enum Constant and Description |
---|
NORMAL
Normal execution mode
|
STOPPING
Application is currently stopping
|
Modifier and Type | Method and Description |
---|---|
static RuntimeServlet.RunMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeServlet.RunMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeServlet.RunMode NORMAL
public static final RuntimeServlet.RunMode STOPPING
public static RuntimeServlet.RunMode[] values()
for (RuntimeServlet.RunMode c : RuntimeServlet.RunMode.values()) System.out.println(c);
public static RuntimeServlet.RunMode 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 null