Package org.uberfire.preferences.shared
Interface PreferenceScopeResolutionStrategy
-
- All Known Implementing Classes:
DefaultPreferenceScopeResolutionStrategy
public interface PreferenceScopeResolutionStrategyDefines the hierarchy used to resolve a preference value. If no backend implementation for this class exists, a default one will be provided.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PreferenceScopeResolutionStrategyInfogetInfo()Defines the order of scopes that will be used when a preference value is searched, as well the scope where a preference will be persisted if none is provided.PreferenceScopeResolvergetScopeResolver()Returns a scope resolver for this scope resolution strategy.
-
-
-
Method Detail
-
getInfo
PreferenceScopeResolutionStrategyInfo getInfo()
Defines the order of scopes that will be used when a preference value is searched, as well the scope where a preference will be persisted if none is provided.- Returns:
- Resolution strategy information.
-
getScopeResolver
PreferenceScopeResolver getScopeResolver()
Returns a scope resolver for this scope resolution strategy.- Returns:
- Resolution strategy information.
-
-