Package org.uberfire.preferences.shared
Interface PreferenceScope
-
- All Known Implementing Classes:
PreferenceScopeImpl
public interface PreferenceScopeThe pair (type, key) represents a unique preference scope, which groups a set of preferences and its values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PreferenceScopechildScope()Child scope, a scope inside a scope.Stringkey()Stringtype()
-
-
-
Method Detail
-
type
String type()
- Returns:
- Type of the preference scope. Represents a unique category of scopes.
-
key
String key()
- Returns:
- Key of the preference scope. Represents a unique key inside a scope type.
-
childScope
PreferenceScope childScope()
Child scope, a scope inside a scope. This allows a hierarchy inside each scope.- Returns:
- Child scope. This can be null, indicating the end of the hierarchy.
-
-