public enum PreferenceLevel extends java.lang.Enum<PreferenceLevel>
Enum Constant and Description |
---|
SHARED_SYSTEM |
SHARED_USER |
SYSTEM |
USER |
USER_THEN_SYSTEM |
Modifier and Type | Method and Description |
---|---|
static PreferenceLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreferenceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferenceLevel USER
public static final PreferenceLevel USER_THEN_SYSTEM
public static final PreferenceLevel SYSTEM
public static final PreferenceLevel SHARED_USER
public static final PreferenceLevel SHARED_SYSTEM
public static PreferenceLevel[] values()
for (PreferenceLevel c : PreferenceLevel.values()) System.out.println(c);
public static PreferenceLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null