public enum RunningEnvironment extends Enum<RunningEnvironment>
Enum Constant and Description |
---|
DESKTOP |
PORTAL |
PORTAL_REMOTE |
Modifier and Type | Method and Description |
---|---|
static RunningEnvironment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunningEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunningEnvironment PORTAL
public static final RunningEnvironment PORTAL_REMOTE
public static final RunningEnvironment DESKTOP
public static RunningEnvironment[] values()
for (RunningEnvironment c : RunningEnvironment.values()) System.out.println(c);
public static RunningEnvironment 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