public static enum Preferences.Key extends Enum<Preferences.Key>
| Enum Constant and Description |
|---|
ANALYTICS |
LOCALE |
RUN_AS_ROLE |
SECURITY_CONTEXT |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue() |
String |
getTitle() |
String |
getToken() |
static Preferences.Key |
match(String token) |
static Preferences.Key |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Preferences.Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Preferences.Key LOCALE
public static final Preferences.Key ANALYTICS
public static final Preferences.Key RUN_AS_ROLE
public static final Preferences.Key SECURITY_CONTEXT
public static Preferences.Key[] values()
for (Preferences.Key c : Preferences.Key.values()) System.out.println(c);
public static Preferences.Key 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 getToken()
public String getTitle()
public static Preferences.Key match(String token)
public Object getDefaultValue()
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.