public static enum Settings.Key extends Enum<Settings.Key>
| Enum Constant and Description |
|---|
COLLECT_USER_DATA |
LOCALE |
PAGE_SIZE |
RUN_AS |
| Modifier and Type | Method and Description |
|---|---|
static Settings.Key |
from(String key) |
String |
key() |
static Settings.Key |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Settings.Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Settings.Key COLLECT_USER_DATA
public static final Settings.Key LOCALE
public static final Settings.Key PAGE_SIZE
public static final Settings.Key RUN_AS
public static Settings.Key[] values()
for (Settings.Key c : Settings.Key.values()) System.out.println(c);
public static Settings.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 static Settings.Key from(@NonNls String key)
public String key()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.