public static enum Latkes.RuntimeMode extends Enum<Latkes.RuntimeMode>
Latkes.getRuntimeMode()| Enum Constant and Description |
|---|
DEVELOPMENT
Indicates Latke runs in development.
|
PRODUCTION
Indicates Latke runs in production.
|
| Modifier and Type | Method and Description |
|---|---|
static Latkes.RuntimeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Latkes.RuntimeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Latkes.RuntimeMode DEVELOPMENT
public static final Latkes.RuntimeMode PRODUCTION
public static Latkes.RuntimeMode[] values()
for (Latkes.RuntimeMode c : Latkes.RuntimeMode.values()) System.out.println(c);
public static Latkes.RuntimeMode 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 © 2009–2019 B3log. All rights reserved.