public enum PreferenceScope extends Enum<PreferenceScope>
By using the DEFAULT scope there is the option to retrieve default values provided via SPI.
| Enum Constant and Description |
|---|
DEFAULT
The DEFAULT scope is used to read default values supplied by the
IStaticConfigurationProvider SPI implementing providers. |
PARTITION
The PARTITION scope is used to address preferences on partition level.
|
REALM
The REALM scope is used to address preferences on realm level.
|
USER
The USER scope is used to address preferences on user level.
|
| Modifier and Type | Method and Description |
|---|---|
static PreferenceScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreferenceScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferenceScope DEFAULT
IStaticConfigurationProvider SPI implementing providers.IStaticConfigurationProviderpublic static final PreferenceScope PARTITION
public static final PreferenceScope REALM
public static final PreferenceScope USER
public static PreferenceScope[] values()
for (PreferenceScope c : PreferenceScope.values()) System.out.println(c);
public static PreferenceScope 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 nullCopyright © 2016 Eclipse Stardust. All Rights Reserved.