|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PreferenceScope>
org.eclipse.stardust.engine.core.preferences.PreferenceScope
public enum PreferenceScope
A PreferenceScope defines scoping of preferences. The granularity of scopes is divided into per Partition, per UserRealm and per User.
By using the DEFAULT scope there is the option to retrieve default values provided via SPI.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PreferenceScope DEFAULT
IStaticConfigurationProvider SPI implementing providers.
IStaticConfigurationProviderpublic static final PreferenceScope PARTITION
public static final PreferenceScope REALM
public static final PreferenceScope USER
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||