public static enum DevMode.DEVMODE extends Enum<DevMode.DEVMODE>
Enum Constant and Description |
---|
DEVELOPMENT
dev mode
|
PRODUCTION
mode prod
|
SUPER_DEVELOPPMENT
Super dev mode
|
Modifier and Type | Method and Description |
---|---|
static DevMode.DEVMODE |
createsFromString(String size)
Converts a string to a DEVMODE
|
String |
toString() |
static DevMode.DEVMODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DevMode.DEVMODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DevMode.DEVMODE SUPER_DEVELOPPMENT
public static final DevMode.DEVMODE DEVELOPMENT
public static final DevMode.DEVMODE PRODUCTION
public static DevMode.DEVMODE[] values()
for (DevMode.DEVMODE c : DevMode.DEVMODE.values()) System.out.println(c);
public static DevMode.DEVMODE 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 nullpublic String toString()
toString
in class Enum<DevMode.DEVMODE>
public static DevMode.DEVMODE createsFromString(String size)
size
- The size to convert