public enum PreferenceAction extends java.lang.Enum<PreferenceAction>
Enum Constant and Description |
---|
CLEAR_PREFERENCE |
LIST |
SET_PREFERENCE |
SET_SYSTEM_DEFAULT |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SET_FEATURES_ROLE |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
allow(SessionService sess,
AbstractSetting f) |
abstract java.lang.String |
getHelp() |
static PreferenceAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreferenceAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferenceAction SET_SYSTEM_DEFAULT
public static final PreferenceAction SET_PREFERENCE
public static final PreferenceAction CLEAR_PREFERENCE
public static final PreferenceAction LIST
public static final java.lang.String SET_FEATURES_ROLE
public static PreferenceAction[] values()
for (PreferenceAction c : PreferenceAction.values()) System.out.println(c);
public static PreferenceAction 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 nullpublic abstract boolean allow(SessionService sess, AbstractSetting f)
public abstract java.lang.String getHelp()