public enum SystemType extends Enum<SystemType>
| Enum Constant and Description |
|---|
DEVELOPMENT |
PRODUCTION |
TEST |
| Modifier and Type | Method and Description |
|---|---|
static SystemType |
fromString(String text) |
static SystemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemType PRODUCTION
public static final SystemType TEST
public static final SystemType DEVELOPMENT
public static SystemType[] values()
for (SystemType c : SystemType.values()) System.out.println(c);
public static SystemType 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 static SystemType fromString(String text)
Copyright © 2017 Suncode. All rights reserved.